use argparse instead of kvloader for flags&aliases #563

minrk opened this Issue Jul 7, 2011 · 3 comments

3 participants

IPython member

As the new command line args have crept up in functionality, we are now approaching argparse-level code, which is exactly what we wanted to avoid. We should be using argparse for everything in flags&aliases now, and only use the KV loader for explicit Class.trait=value arguments.

The Parsers should be generated from similar data structures to the current Flags&Aliases, and not hand-written.


+1. Thanks!


+1. The custom argument parsing code leads to some interesting/annoying gotchas in corners not quite explored, e.g. #570.

IPython member

Closed by PR #674

@minrk minrk closed this Sep 9, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment