carzum / termviz

ROS visualisation on the terminal
MIT License
385 stars 22 forks source link

Use clap for CLI #64

Closed MichaelGrupp closed 2 years ago

MichaelGrupp commented 2 years ago

Simple change to get a nicely formatted --help for free and to allow more arguments in the future.

MichaelGrupp commented 2 years ago
$ termviz --help
termviz 
ROS visualization on the terminal

USAGE:
    termviz [config]

ARGS:
    <config>
            Optional YAML file with a custom termviz configuration.

OPTIONS:
    -h, --help
            Print help information

More documentation can be found at: github.com/carzum/termviz

The last line is a lie, but this will change with the README.