Skip to content

Cleanup TPI cli tool #31

@hgadgil

Description

@hgadgil

TPI cli needs improvement w.r.t options as they are organized. Currently it is a tad bit confusing where the TPI cli when executed with sub-options and flags produces an output that is unclear.

For instance:
tpi firmware -v
shows the TPI cli's version rather than the firmware.

Secondly, the options could themselves be better organized (e.g. borrowing from kubectl) so that the usage is intuitive and output is very clear
CMD <ACTION> <RESOURCE> <FLAGS>

e.g.:

tpi get firmware version
tpi set node 1 --power on

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