materialsproject / fireworks

The Fireworks Workflow Management Repo.
https://materialsproject.github.io/fireworks
Other
363 stars 185 forks source link

Add `<action>_wfs` aliases for all `lpad <action>_wflows` commands #512

Closed janosh closed 1 year ago

janosh commented 1 year ago

Python code and CLI are currently inconsistent. Python calls functions get_wflows, delete_wfs, reignite_wfs, etc. while CLI calls them get_wfs, delete_wflows,`reignite_wflows, etc.

This PR adds argparse.subparser(aliases: list[str]) so that both get_wfs and get_wflows etc. work.