Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
snakefmt Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`