Skip to content

Move global flags to rootCmd #70

@philhug

Description

@philhug

Flags like --addr or --system-admin-key are attached to each individual command and not to rootCmd, which makes a bit painful to use.

e.g.
./ionscale_linux_amd64 --addr https://ion.xxx.com machine --help
retuns
Error: unknown flag: --addr

which then requires removing the flags again to check the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions