materialsproject / fireworks

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

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

Closed janosh closed 11 months ago

janosh commented 11 months 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.