|
| 1 | +| Option | Default | Description | |
| 2 | +| ---------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | |
| 3 | +| `-c, --config FILE` | - | Path to configuration file. | |
| 4 | +| \`--capture \[fd | no | sys | |
| 5 | +| `--database-url TEXT` | - | Url to the database. | |
| 6 | +| `--debug-pytask` | `false` | Trace all function calls in the plugin framework. | |
| 7 | +| `--disable-warnings` | `false` | Disables the summary for warnings. | |
| 8 | +| `--dry-run` | `false` | Perform a dry-run. | |
| 9 | +| `--editor-url-scheme TEXT` | `file` | Use file, vscode, pycharm or a custom url scheme to add URLs to task ids to quickly jump to the task definition. Use no_link to disable URLs. | |
| 10 | +| `--explain` | `false` | Explain why tasks need to be executed by showing what changed. | |
| 11 | +| `-f, --force` | `false` | Execute a task even if it succeeded successfully before. | |
| 12 | +| `--hook-module TEXT` | - | Path to a Python module that contains hook implementations. | |
| 13 | +| `--ignore TEXT` | - | A pattern to ignore files or directories. Refer to 'pathlib.Path.match' for more info. | |
| 14 | +| `-k EXPRESSION` | - | Select tasks via expressions on task ids. | |
| 15 | +| `-m MARKER_EXPRESSION` | - | Select tasks via marker expressions. | |
| 16 | +| `--max-failures FLOAT RANGE` | `inf` | Stop after some failures. | |
| 17 | +| `--n-entries-in-table INTEGER RANGE` | `15` | How many entries to display in the table during the execution. Tasks which are running are always displayed. | |
| 18 | +| `--pdb` | `false` | Start the interactive debugger on errors. | |
| 19 | +| `--pdbcls module_name:class_name` | - | Start a custom debugger on errors. For example: --pdbcls=IPython.terminal.debugger:TerminalPdb | |
| 20 | +| `-s` | `false` | Shortcut for --capture=no. | |
| 21 | +| \`--show-capture \[no | stdout | stderr | |
| 22 | +| `--show-errors-immediately` | `false` | Show errors with tracebacks as soon as the task fails. | |
| 23 | +| `--show-locals` | `false` | Show local variables in tracebacks. | |
| 24 | +| `--show-traceback / --show-no-traceback` | `--show-traceback` | Choose whether tracebacks should be displayed or not. | |
| 25 | +| `--sort-table / --do-not-sort-table` | `--sort-table` | Sort the table of tasks at the end of the execution. | |
| 26 | +| `--strict-markers` | `false` | Raise errors for unknown markers. | |
| 27 | +| `--trace` | `false` | Enter debugger in the beginning of each task. | |
| 28 | +| `-v, --verbose INTEGER RANGE` | `1` | Make pytask verbose (>= 0) or quiet (= 0). | |
| 29 | +| `-x, --stop-after-first-failure` | `false` | Stop after the first failure. | |
| 30 | +| `-h, --help` | - | Show this message and exit. | |
0 commit comments