skywire icon indicating copy to clipboard operation
skywire copied to clipboard

`skywire-cli` terminal user interface improvements

Open 0pcom opened this issue 3 years ago • 0 comments

after my rework of the skywire-cli subcommand structure and flags from a few months ago, subsequent refactors to the formatting of some flags for cli commands has negatively impacted the help menu display, in terms of line wrap, etc.

the skywire-cli help menus will be reformatted to fit again in the default 80x24 terminal window.

Additionally, it should be more easily possible to use the output from one command as the input for another. especially when dealing with public keys or other identifiers which are comprised of long alphanumeric strings.

one example is the skywire-cli tp subcommands.

the output of tp list could have a flag to only output transport IDs. Then, removing all transports could be something like the following command

skywire-cli visor tp rm $(skywire-cli visor tp list --ids)

this is one example of numerous possible

0pcom avatar Oct 07 '22 22:10 0pcom