diff --git a/tldr/ansible-lint b/tldr/ansible-lint new file mode 100644 index 00000000..715a8b5e --- /dev/null +++ b/tldr/ansible-lint @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ansible-lint + +> Apply rules and follow best practices with your automation content. +> More information: . + +- Lint a specific playbook and a role directory: + +`ansible-lint {{path/to/playbook_file}} {{path/to/role_directory}}` + +- Lint a playbook while excluding specific rules: + +`ansible-lint {{[-x|--exclude-rules]}} {{rule1,rule2,...}} {{path/to/playbook_file}}` + +- Lint a playbook in offline mode and format output as PEP8: + +`ansible-lint {{[-o|--offline]}} {{[-p|--parseable]}} {{path/to/playbook_file}}` + +- Lint a playbook using a custom rules directory: + +`ansible-lint {{[-r|--rules]}} {{path/to/custom_rules_directory}} {{path/to/playbook_file}}` + +- Lint all Ansible content recursively in a given directory: + +`ansible-lint {{path/to/project_directory}}` diff --git a/tldr/duckdb b/tldr/duckdb index 1ed0ee3d..167dcea7 100644 --- a/tldr/duckdb +++ b/tldr/duckdb @@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git `cat {{path/to/source.csv}} | duckdb -c "{{COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)}}"` -- Display help: +- Start the DuckDB UI, a web interface with notebooks: -`duckdb -help` +`duckdb -ui` diff --git a/tldr/sfdk-emulator-device-model-show b/tldr/sfdk-emulator-device-model-show index a36dc35b..a57ae7a0 100644 --- a/tldr/sfdk-emulator-device-model-show +++ b/tldr/sfdk-emulator-device-model-show @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sfdk emulator device-model-show > Show emulated device model's properties. -> More information: . +> More information: . - Show a model properties: diff --git a/tldr/sfdk-emulator-start b/tldr/sfdk-emulator-start index 7e5a26d3..340a6a0f 100644 --- a/tldr/sfdk-emulator-start +++ b/tldr/sfdk-emulator-start @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sfdk emulator start > Starts an emulator. -> More information: . +> More information: . - Start an emulator: diff --git a/tldr/sfdk-maintain b/tldr/sfdk-maintain index 54da738b..d6a09df0 100644 --- a/tldr/sfdk-maintain +++ b/tldr/sfdk-maintain @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sfdk maintain > Launches the interactive SDK Maintenance tool. -> More information: . +> More information: . - Launch SDK Maintenance tool: diff --git a/tldr/sfdk-qmltypes b/tldr/sfdk-qmltypes index 2405c7b1..2fc48e7a 100644 --- a/tldr/sfdk-qmltypes +++ b/tldr/sfdk-qmltypes @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sfdk qmltypes > Generates qmltypes files. -> More information: . +> More information: . - Generate qmltypes files: diff --git a/tldr/sfdk-scrape b/tldr/sfdk-scrape index 49eb08d8..be87e620 100644 --- a/tldr/sfdk-scrape +++ b/tldr/sfdk-scrape @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sfdk scrape > Converts source code modifications to patches. -> More information: . +> More information: . - Save source modifications as patches: