task
The task group generates task classes for data processing workflows. A task is a decorated class that processes resources with defined inputs, outputs and parameters. Use this group to scaffold a new task with the standard boilerplate so you can start filling in the processing logic straight away.
task generate
Creates a new task class file with the standard boilerplate. You provide the class name (in PascalCase) and, optionally, a human-readable name and a short description. The command prints the path of the generated file so you can open it and implement the task's inputs, outputs and parameters.
gws task generate [OPTIONS]
# Generate a task class with just a name
gws task generate MyTable
# Generate a task with a human name and a short description
gws task generate FilterRows --human-name "Filter rows" --short-description "Keep only rows matching a condition"