Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: migrate away from optparse #4231

Open
oliver-sanders opened this issue May 26, 2021 · 0 comments
Open

cli: migrate away from optparse #4231

oliver-sanders opened this issue May 26, 2021 · 0 comments
Milestone

Comments

@oliver-sanders
Copy link
Member

superseedes #2972, #3525

optparse has served us well but is a little long in the tooth, we may want to consider moving to a better supported system.

The CLI is now quite a bit simpler than before and our future plans (#3592) aren't too demanding on the option parser so this is now a low priority issue.

Desirable functionality:

We have previously considered other options including:

  • argparse
  • click
  • clize

For context see the discussion on:

Pull requests welcome!

@oliver-sanders oliver-sanders added this to the some-day milestone May 26, 2021
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue May 26, 2021
* we briefly toyed with moving to click
* we only converted one script over and are less sure of the correct
  framework
* moving the one click command to argparse (stdlib) to reduce our
  dependency footprint
* cylc#4231
This was referenced May 26, 2021
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue May 26, 2021
* we briefly toyed with moving to click
* we only converted one script over and are less sure of the correct
  framework
* moving the one click command to argparse (stdlib) to reduce our
  dependency footprint
* cylc#4231
hjoliver pushed a commit that referenced this issue May 26, 2021
* we briefly toyed with moving to click
* we only converted one script over and are less sure of the correct
  framework
* moving the one click command to argparse (stdlib) to reduce our
  dependency footprint
* #4231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant