demosys.core.management.commands package¶
Submodules¶
demosys.core.management.commands.createeffect module¶
-
class
demosys.core.management.commands.createeffect.
Command
¶ Bases:
demosys.core.management.base.CreateCommand
-
add_arguments
(parser)¶ This method is for adding arguments to a command. When extending this class we define the arguments by adding it to the parser passed in.
Parameters: parser – The parser to add arguments to (standard argparse)
-
handle
(*args, **options)¶ The actual run logic for the command.
Parameters: - args – arguments from the argparser
- options – keyword arguments from the argparser
-
help
= 'Create an effect'¶
-
-
demosys.core.management.commands.createeffect.
available_templates
(value)¶ Scan for available templates in effect_templates
-
demosys.core.management.commands.createeffect.
copy_effect_template
(template_name, effect_name, dest_path)¶
-
demosys.core.management.commands.createeffect.
list_templates
()¶
-
demosys.core.management.commands.createeffect.
root_path
()¶ Get the absolute path to the root of the demosys package
-
demosys.core.management.commands.createeffect.
template_dir
()¶ Get the absolute path to the template directory
demosys.core.management.commands.createproject module¶
-
class
demosys.core.management.commands.createproject.
Command
¶ Bases:
demosys.core.management.base.CreateCommand
-
add_arguments
(parser)¶ This method is for adding arguments to a command. When extending this class we define the arguments by adding it to the parser passed in.
Parameters: parser – The parser to add arguments to (standard argparse)
-
handle
(*args, **options)¶ The actual run logic for the command.
Parameters: - args – arguments from the argparser
- options – keyword arguments from the argparser
-
help
= 'Create a project'¶
-
-
demosys.core.management.commands.createproject.
gen_manage_py
(project_name)¶