frePPLe / frepple

frePPLe - open source supply chain planning
https://frepple.com
Other
524 stars 248 forks source link

Frepplectl help message needs updated #39

Closed jbradsha closed 10 years ago

jbradsha commented 10 years ago

Help message in frepplectl shows outdated command(s), e.g. sqlinitialdata Please remove outdated commands or mark them as obsolete/replaced.

$ frepplectl help Usage: frepplectl subcommand [options] [args]

Options: -v VERBOSITY, --verbosity=VERBOSITY Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used. --pythonpath=PYTHONPATH A directory to add to the Python path, e.g. "/home/djangoprojects/myproject". --traceback Raise on exception --version show program's version number and exit -h, --help show this help message and exit

Type 'frepplectl help ' for help on a specific subcommand.

Available subcommands:

[auth] changepassword createsuperuser

[django] check cleanup compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages runfcgi shell sql sqlall sqlclear sqlcustom sqldropindexes sqlflush sqlindexes sqlinitialdata sqlsequencereset startapp startproject syncdb test testserver validate

[execute] frepple_backup frepple_copy frepple_createbuckets frepple_createmodel frepple_dotgraph frepple_flush frepple_loadxml frepple_restore frepple_run frepple_runserver frepple_runworker

[staticfiles] collectstatic findstatic runserver

$ frepplectl sqlinitialdata CommandError: This command has been renamed. Use the 'sqlcustom' command instead.

$ frepplectl --version 1.6 (Github pull from 2014-08-28)

jdetaeye commented 10 years ago

Most of these commands are defined in the django framework we use for the user interface. The only commands added by frePPLe are under [execute].

See https://docs.djangoproject.com/en/dev/ref/django-admin/ frepplectl.py is nothing but a renamed django's manage.py.

Fixing this issue would mean customizing django, which doesn't feel right: frepple's UI should be a clean and standard django application. Hence, marking this issue as "won't fix".