Skip to content

Rework command subsystem #380

Closed
Closed
@jvalkeal

Description

@jvalkeal

One trouble in #379 when I started to implement it is that while it's easy to make CommandRegistry writable and register new methods based on MethodTarget this process from a user perspective is a bit cumbersome.

Essentially we still need to make custom pojo:

	public static class PojoMethods {

		@ShellMethod
		public String dynamic1() {
			return "dynamic1";
		}

		@ShellMethod
		public String dynamic2(String arg1) {
			return "dynamic2" + arg1;
		}
	}

and have those methods with dummy @ShellMethod for StandardParameterResolver to read parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions