task
Usage
Usage: prism create task [OPTIONS]
Create new tasks for your project.
Examples:
โข prism create task --type python
โข prism create task --n 3 --name extract_step
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --type -t [python|pyspark] Task type. Default is python โ
โ --decorated If specified, the task will be a decorated function โ
โ --number INTEGER Number of tasks to create. Default is 1. โ
โ --name TEXT 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 TEXT Folder within the modules directory in which the new tasks should live. If not โ
โ specified, then new tasks will be dumpted into modules/ โ
โ --log-level -l [info|warn|error|debug] Set the log level โ
โ --full-tb Show the full traceback when an error occurs โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏExample
Last updated