Add new command#
-
Create a file with name
your_command.py
inscli/commands/
directory. -
Paste below code, your class name should be
Command
. -
Add your command to
INSTALLED_COMMANDS
inscli/settings.py
. -
Now test it!
-
Your should see below output.