Skip to content

[Feature]: Add list alias to make CLI consistent #116

Description

@davidallendj

Describe the feature

It would be nice if commands like ochami smd rfe get and ochami smd component get had a list alias that look something like ochami smd rfe list and ochami smd component list respectively. This would match the behavior of the new fabrica-based CLI commands like ochami boot config list or ochami metadata group list and should be backwards compatible. Since the behaviors are the same, there should not be much to add or change since cobra includes an Aliases slice for commands. I am NOT proposing removal of existing commands.

Why do you want this feature?

Adding a list command makes using the old CSM-based commands similar to the new fabrica-based ones.

Alternatives you've considered

No response

Additional context

Using the current way with get and no arguments works and is fine, but I find myself naturally trying to run list whenever I want to see a collection even with SMD. Since we're moving to the new services anyway, I think it would make sense to have something like this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions