Skip to content

Improve how we can define alternative names for an option #478

Description

@cmoulliard

To be investigated

It is not so easy to specify alternative names for an option as the shortName only supports one char w and not several chars wks. By consequence it is needed to use the aliases to specify such options BUT then they will be displayed using help as -wks=<workspace-path>
ans not -wks, -wks=...

What I see today

  --workspace-path, --wks=<workspace-path>
                            Absolute path to the project/workspace directory used as CWD for the session. If not set, defaults to the directory where the command is executed [env: WORKSPACE_PATH]
  -s, --skill-path=<skill-path>
                            Absolute path to a skills folder to add as additional directory [env: SKILL_PATH]

using

    @Option(aliases = "wks",
            name = "workspace-path",
            description = "Absolute path to the project/workspace directory used as CWD for the session. If not set, defaults to the directory where the command is executed [env: WORKSPACE_PATH]")
    String workspacePath;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions