Skip to content

Improve general usage printing #86

@Cafe137

Description

@Cafe137

Improvements

  • Whenever groups are listed, also print this info:
Run 'swarm-cli GROUP --help' to see available commands in a group
  • Whenever commands are listed, also print this info:
Run 'swarm-cli COMMAND --help' for more information on a command
  • When only swarm-cli is called, also print a headline, eg.:
swarm-cli v0.6.1 - Manage your Bee node and interact with the Swarm network via the CLI
  • When only swarm-cli is called, do not print error message

  • When groups are called without commands, do not print error message

  • When help is printed for a specific command, include an usage part, eg.:

█ Usage:

swarm-cli feed upload <path> [OPTIONS]
  • When commands are called without any options and arguments BUT they require an argument, print usage instead of the error message

Mockup

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions