plaans / aries

Toolbox for automated planning and combinatorial solving.
MIT License
43 stars 7 forks source link

Cmdline Args for UP Server #41

Closed franklinselva closed 1 year ago

franklinselva commented 2 years ago

Added command line arguments for

arbimo commented 1 year ago

This seems to be quite ad-hoc: we expect one or two arguments, which are essentially mutually exclusive (if there is a file on the command line, the address is unused). It is also non discoverable and not documented. A better way would be to use clap (https://docs.rs/clap/latest/clap/) to handle the argument parsing (in particular, I think subcommands would make sense here where we have two exculsive cases).

franklinselva commented 1 year ago

@arbimo I have added the requested changes.