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