Skip to content

use argparse instead of kvloader for flags&aliases #563

Closed
minrk opened this Issue Jul 7, 2011 · 3 comments

3 participants

@minrk
IPython member
minrk commented Jul 7, 2011

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.

@rkern
rkern commented Jul 11, 2011

+1. Thanks!

@dwf
dwf commented Jul 12, 2011

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

@minrk
IPython member
minrk commented Sep 9, 2011

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
Something went wrong with that request. Please try again.