#28398: Allow management command invocation to suggest commands for mistyped
commands
-------------------------------------+-------------------------------------
Reporter: Vlada Macek | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: 1.11
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tom):
* cc: Tom (added)
Comment:
I think this is definitely worth pursuing - it's not that complicated to
add and it helps out beginners who are new to the whole manage.py
experience. I think people are perhaps over-thinking this: providing 'did
you mean' suggestions for typos has a lot of prior art including `git` and
the default bash on Ubuntu and shouldn't be complicated or require any
interaction.
Simply printing out potential candidate commands when the user makes a
typo is a quick and easy win IMO. Yes, users could use grep, but that
assumes that they are familiar with such tools and are on a system that
provides them. Plus learning a new tool like manage.py can be quite hard
at the beginning and there is definitely a selection bias here of people
who are familiar with Django and unix tooling in general. I wouldn't find
this feature useful at all, but someone who is starting out with Django
may.
--
Ticket URL: <https://code.djangoproject.com/ticket/28398#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.1467d07653882280954261fbaf31f1bf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.