Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show commands from MANAGEMENT_COMMANDS_MODULES in help #10

Open
2 tasks done
mikicz opened this issue Sep 25, 2024 · 2 comments · May be fixed by #11
Open
2 tasks done

Show commands from MANAGEMENT_COMMANDS_MODULES in help #10

mikicz opened this issue Sep 25, 2024 · 2 comments · May be fixed by #11
Labels
enhancement New feature or request

Comments

@mikicz
Copy link

mikicz commented Sep 25, 2024

Description

Currently, help only shows custom commands when specified through MANAGEMENT_COMMANDS_PATHS and MANAGEMENT_COMMANDS_ALIASES. However if MANAGEMENT_COMMANDS_MODULES is configured (and looking at source code MANAGEMENT_COMMANDS_SUBMODULES), and there's commands there they do not show in the help when running manage.py --help

Suggested Solution

Like ManagementUtility.main_help_text needs to be updated to get all commands in the specified modules/submodules so they can be printed.

Terms

@paduszyk paduszyk added the enhancement New feature or request label Sep 25, 2024
@paduszyk
Copy link
Owner

First of all, thanks for your interest in my project! 👍🏻

I like the idea. I will try to open PR ASAP unless you're going to do so. Let me know.

@paduszyk paduszyk changed the title Show commands from MANAGEMENT_COMMANDS_MODULES in help Show commands from MANAGEMENT_COMMANDS_MODULES in help Sep 25, 2024
@mikicz
Copy link
Author

mikicz commented Sep 26, 2024

I think you can probably get it out lot quicker than me!

@mikicz mikicz linked a pull request Sep 30, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants