eduidl / rtui

TUI tool for ROS
Apache License 2.0
196 stars 9 forks source link

Enhance CLI commands #9

Closed eduidl closed 10 months ago

eduidl commented 10 months ago

The help message was displayed when there was no subcommand (rtui), but now it is treated as rtui nodes.

old

$ rtui
Usage: rtui [OPTIONS] COMMAND [ARGS]...

  Terminal User Interface for ROS User

Options:
  --help  Show this message and exit.

Commands:
  actions   Inspect ROS actions (ROS1 is not supported)
  nodes     Inspect ROS nodes
  services  Inspect ROS services
  topics    Inspect ROS topics

new

$ rtui

image

$ rtui --help
Usage: rtui [OPTIONS] COMMAND [ARGS]...

  Terminal User Interface for ROS User

Options:
  --help  Show this message and exit.

Commands:
  actions   Inspect ROS actions
  nodes     Inspect ROS nodes (default)
  services  Inspect ROS services
  topics    Inspect ROS topics