mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
snakefmt: add page (#8733)
This commit is contained in:
parent
4751abf6c8
commit
16b2d486a4
1 changed files with 24 additions and 0 deletions
24
pages/common/snakefmt.md
Normal file
24
pages/common/snakefmt.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# snakefmt
|
||||
|
||||
> Format Snakemake files.
|
||||
> More information: <https://github.com/snakemake/snakefmt>.
|
||||
|
||||
- Format a specific Snakefile:
|
||||
|
||||
`snakefmt {{path/to/snakefile}}`
|
||||
|
||||
- Format all Snakefiles recursively in a specific directory:
|
||||
|
||||
`snakefmt {{path/to/directory}}`
|
||||
|
||||
- Format a file using a specific configuration file:
|
||||
|
||||
`snakefmt --config {{path/to/config.toml}} {{path/to/snakefile}}`
|
||||
|
||||
- Format a file using a specific maximum line length:
|
||||
|
||||
`snakefmt --line-length {{100}} {{path/to/snakefile}}`
|
||||
|
||||
- Display the changes that would be performed without performing them (dry-run):
|
||||
|
||||
`snakefmt --diff {{path/to/snakefile}}`
|
Loading…
Add table
Reference in a new issue