Skip to content

Move the CLI to a framework like Cobra #936

@rdimitrov

Description

@rdimitrov

The following issue is about moving the CLI to a proper framework like cobra which would give us a few things for granted

Benefits:

  • Automatic help generation and version handling
  • Built-in shell completion support (bash/zsh/fish/PowerShell)
  • Better flag validation and error messages
  • Easier to add new commands/subcommands
  • Consistent with popular CLI tools (kubectl, gh, hugo, etc.)
  • More testable command structure

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update go code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions