Tuesday, October 27, 2015

Re: how to use proper subcommands in Django 1.8?

I can get basic functionality through specifying the parser_class kwarg in my add_subparsers.  I've tried this both with ArgumentParser and with my own custom subclass of CommandParser that takes either CommandParser initialize methods or ArgumentParser style initialize methods.  However, I haven't been able to generate a proper help message for a subcommand with either of these.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b97f4f69-1839-41fd-b1c3-26d650edc38d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment