| 1 |
Data processing commands. |
| 2 |
|
| 3 |
**Global Options**: |
| 4 |
|
| 5 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 6 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 7 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 8 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |
| 9 |
|
| 10 |
### complex-cli data process |
| 11 |
|
| 12 |
```console |
| 13 |
complex-cli data process [OPTIONS] INPUT_FILES |
| 14 |
``` |
| 15 |
|
| 16 |
Process data files with configurable options. |
| 17 |
|
| 18 |
This command demonstrates dataclass parameter flattening where |
| 19 |
all fields from ProcessingConfig and PathConfig become CLI options. |
| 20 |
|
| 21 |
**Arguments**: |
| 22 |
|
| 23 |
* `INPUT_FILES`: Input files to process **[required]** |
| 24 |
|
| 25 |
**Parameters**: |
| 26 |
|
| 27 |
* `--batch-size`: Number of items to process per batch. *[default: 32]* |
| 28 |
* `--num-workers`: Number of parallel workers. Use "auto" for automatic detection. *[choices: auto]* *[default: auto]* |
| 29 |
* `--quality-level`: Processing quality level. Higher values mean better quality but slower. *[choices: high, medium, low]* *[default: high]* |
| 30 |
* `--device`: Computing device to use. Can be "cuda", "cpu", "auto", or a GPU index. *[choices: cuda, cpu, auto]* *[default: auto]* |
| 31 |
* `--output-formats, --empty-output-formats`: List of output formats to generate. *[choices: json, yaml, table, csv]* *[default: [json]]* |
| 32 |
* `--input-dir`: Input data directory. *[default: data/input]* |
| 33 |
* `--output-dir`: Output results directory. *[default: data/output]* |
| 34 |
* `--cache-dir`: Cache directory for intermediate files. |
| 35 |
* `--log-dir`: Directory for log files. *[default: logs]* |
| 36 |
|
| 37 |
### complex-cli data pipeline |
| 38 |
|
| 39 |
```console |
| 40 |
complex-cli data pipeline [OPTIONS] |
| 41 |
``` |
| 42 |
|
| 43 |
Run a complete data pipeline. |
| 44 |
|
| 45 |
Demonstrates nested dataclass flattening (PipelineConfig contains |
| 46 |
PathConfig and ProcessingConfig). |
| 47 |
|
| 48 |
**Parameters**: |
| 49 |
|
| 50 |
* `--name`: Pipeline name for identification. *[default: default-pipeline]* |
| 51 |
* `--input-dir`: Input data directory. *[default: data/input]* |
| 52 |
* `--output-dir`: Output results directory. *[default: data/output]* |
| 53 |
* `--cache-dir`: Cache directory for intermediate files. |
| 54 |
* `--log-dir`: Directory for log files. *[default: logs]* |
| 55 |
* `--batch-size`: Number of items to process per batch. *[default: 32]* |
| 56 |
* `--num-workers`: Number of parallel workers. Use "auto" for automatic detection. *[choices: auto]* *[default: auto]* |
| 57 |
* `--quality-level`: Processing quality level. Higher values mean better quality but slower. *[choices: high, medium, low]* *[default: high]* |
| 58 |
* `--device`: Computing device to use. Can be "cuda", "cpu", "auto", or a GPU index. *[choices: cuda, cpu, auto]* *[default: auto]* |
| 59 |
* `--output-formats, --empty-output-formats`: List of output formats to generate. *[choices: json, yaml, table, csv]* *[default: [json]]* |
| 60 |
* `--dry-run, --no-dry-run`: If True, simulate execution without making changes. *[default: False]* |
| 61 |
|
| 62 |
### complex-cli data validate |
| 63 |
|
| 64 |
```console |
| 65 |
complex-cli data validate [OPTIONS] INPUT_PATH |
| 66 |
``` |
| 67 |
|
| 68 |
Validate data files against schema. |
| 69 |
|
| 70 |
**Arguments**: |
| 71 |
|
| 72 |
* `INPUT_PATH`: Path to validate. **[required]** |
| 73 |
|
| 74 |
**Parameters**: |
| 75 |
|
| 76 |
* `--strict, --no-strict`: Enable strict validation mode. *[default: False]* |
| 77 |
* `--schema-file`: Custom schema file (must exist). |
| 78 |
* `--ignore-patterns, --empty-ignore-patterns`: Patterns to ignore during validation. |