AI-Planning / planutils

General library for setting up linux-based environments for developing, running, and evaluating planners.
MIT License
103 stars 30 forks source link

Overhaul the user interface #115

Closed nilsjor closed 1 year ago

nilsjor commented 1 year ago

This PR will:

Fix minor issues after activating the environment
Make the package listing more pip-like
Implement the shortname feature

Quoting from planutils/packages/README.md:

shortname specified in the manifest.json file will be used for the command-line invocation ...

  • All planners with long, clunky names (e.g. forbiditerative-diverse-agl) get an optional shortname field in the manifest.
  • This shortname can be used as an alternative for the sake of run, install, show etc.
  • As specified, shortname will replace the case where run is omitted:
  • For "quick" CLI invocations, it makes sense to keep it short
  • For scripting, the full name can still be used in conjunction with planutils run ...
haz commented 1 year ago

I think we'll run into name clashes, and preferences from package authors (e.g., I think the Basel crew urged that downward be used instead of fd), but all those can be addressed as separate one-off discussions. This PR brings a lot to the table -- thank you so much, @nilsjor !!