Skip to content

Manifest - Provide a syntax to define common commands flags #142

@zeralight

Description

@zeralight

It is common that grouped commands shared some flags.
We can think of --verbose, --quiet, --base-url, --namespace, etc.

> cola jenkins --url https://jenkins.com jobs list
> cola jenkins --url https://jenkins.com credentials list   
...

Today, the concept of group arguments doesn't exist in command-launcher.
Additionally, Yaml list anchors are not supported by the currently used yaml deserialiser.
Hence, we need to redefine each argument for each command.

We should find a better way to avoid redundancy.

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