task
Usage
Usage: prism create task [-h] [--type TYPE] [-n N] [--name NAME] [--dir DIR] [--full-tb] [-l]
Create new tasks for your project
Options:
-h, --help show this help message and exit
Subcommand Options:
--type TYPE Task type. One of `python`,`pyspark`. Default is `python`
-n, --number N Number of tasks to create. Default is 1.
--name NAME Task name. If only a single task is requested, then the task will be named `<task_name>.py`. If multiple tasks are requested, then the tasks will be named `<task_name>_<number>.py`. Tasks
should have short, all-lowercase names. Underscores can be used in the module name if it improves readability.
--dir DIR Folder within the `modules` directory in which the new tasks should live. If not specified, then new tasks will be dumpted into `modules/`
General Options:
--full-tb Display the full traceback for errors in the project; default is False
-l, --log-level Log level, must be one of `info`, `warn`, `error`, or `debug`. Default is `info`Example
Last updated