mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-30 18:53:35 +08:00
pages*: use snake_case placeholder names (#24279)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
co-authored by
Managor
parent
8bdf72f2b5
commit
6e5f30fdcd
@@ -13,7 +13,7 @@
|
||||
|
||||
- Crea un contenedor pasando opciones a una plantilla:
|
||||
|
||||
`sudo lxc-create {{[-n|--name]}} {{nombre}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{nombre-distro}} {{[-r|--release]}} {{versión-de-lanzamiento}} {{[-a|--arch]}} {{arch}}`
|
||||
`sudo lxc-create {{[-n|--name]}} {{nombre}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{nombre_distro}} {{[-r|--release]}} {{versión_de_lanzamiento}} {{[-a|--arch]}} {{arch}}`
|
||||
|
||||
- Muestra la ayuda:
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
- Crea uno stack da un file template:
|
||||
|
||||
`aws cloudformation create-stack --stack-name {{nome-stack}} --region {{regione}} --template-body {{file://percorso/del/file.yml}} --profile {{profilo}}`
|
||||
`aws cloudformation create-stack --stack-name {{nome_stack}} --region {{regione}} --template-body {{file://percorso/del/file.yml}} --profile {{profilo}}`
|
||||
|
||||
- Elimina uno stack:
|
||||
|
||||
`aws cloudformation delete-stack --stack-name {{nome-stack}} --profile {{profilo}}`
|
||||
`aws cloudformation delete-stack --stack-name {{nome_stack}} --profile {{profilo}}`
|
||||
|
||||
- Elenca tutti gli stack:
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
|
||||
- Controlla l'output dello stato deriva di uno stack usando `StackDriftDetectionId` dall'output del comando precedente:
|
||||
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack-drift-detection-id}} --profile {{profilo}}`
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack_drift_detection_id}} --profile {{profilo}}`
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
- Crea ed autentica un utente con Google OIDC:
|
||||
|
||||
`dexter auth {{[-i|--client-id]}} {{id-client}} {{[-s|--client-secret]}} {{segreto-client}}`
|
||||
`dexter auth {{[-i|--client-id]}} {{id_client}} {{[-s|--client-secret]}} {{segreto_client}}`
|
||||
|
||||
- Sovrascrivi la posizione predefinita della configurazione di kube:
|
||||
|
||||
`dexter auth {{[-i|--client-id]}} {{id-client}} {{[-s|--client-secret]}} {{segreto-client}} {{[-k|--kube-config]}} {{percorso/della/configurazione}}`
|
||||
`dexter auth {{[-i|--client-id]}} {{id_client}} {{[-s|--client-secret]}} {{segreto_client}} {{[-k|--kube-config]}} {{percorso/della/configurazione}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- Inizializza nuovo modulo nella directory corrente:
|
||||
|
||||
`go mod init {{nomeModulo}}`
|
||||
`go mod init {{nome_modulo}}`
|
||||
|
||||
- Scarica moduli nella cache locale:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
- Installeer een crate:
|
||||
|
||||
`cargo install {{crate-naam}}`
|
||||
`cargo install {{crate_naam}}`
|
||||
|
||||
- Geef een lijst van geïnstalleerde crates:
|
||||
|
||||
|
||||
@@ -6,23 +6,23 @@
|
||||
|
||||
- Controleer MQTT aanmeldingsgegevens voor een doel (hostnaam van de MQTT broker):
|
||||
|
||||
`mqtt_check.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}`
|
||||
`mqtt_check.py {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel_naam}}`
|
||||
|
||||
- Geef een aangepaste client-ID op voor authenticatie:
|
||||
|
||||
`mqtt_check.py -client-id {{client_id}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}`
|
||||
`mqtt_check.py -client-id {{client_id}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel_naam}}`
|
||||
|
||||
- Schakel SSL in voor de verbinding:
|
||||
|
||||
`mqtt_check.py -ssl {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}`
|
||||
`mqtt_check.py -ssl {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel_naam}}`
|
||||
|
||||
- Maak verbinding met een specifieke poort (standaard is 1883):
|
||||
|
||||
`mqtt_check.py -port {{port}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}`
|
||||
`mqtt_check.py -port {{port}} {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel_naam}}`
|
||||
|
||||
- Schakel debug-uitvoer in:
|
||||
|
||||
`mqtt_check.py -debug {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doelNaam}}`
|
||||
`mqtt_check.py -debug {{domein}}/{{gebruikersnaam}}:{{wachtwoord}}@{{doel_naam}}`
|
||||
|
||||
- Toon de help:
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
- Cria uma pilha a partir de um arquivo de modelo:
|
||||
|
||||
`aws cloudformation create-stack --stack-name {{nome-da-pilha}} --region {{região}} --template-body {{file://caminho/para/arquivo.yml}} --profile {{perfil}}`
|
||||
`aws cloudformation create-stack --stack-name {{nome_da_pilha}} --region {{região}} --template-body {{file://caminho/para/arquivo.yml}} --profile {{perfil}}`
|
||||
|
||||
- Deleta uma pilha:
|
||||
|
||||
`aws cloudformation delete-stack --stack-name {{nome-da-pilha}} --profile {{perfil}}`
|
||||
`aws cloudformation delete-stack --stack-name {{nome_da_pilha}} --profile {{perfil}}`
|
||||
|
||||
- Lista todas as pilhas:
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
|
||||
- Verifica o status de uma pilha:
|
||||
|
||||
`aws cloudformation describe-stacks --stack-name {{id-da-pilha}} --profile {{perfil}}`
|
||||
`aws cloudformation describe-stacks --stack-name {{id_da_pilha}} --profile {{perfil}}`
|
||||
|
||||
- Inicia a detecção de desvio para uma pilha:
|
||||
|
||||
`aws cloudformation detect-stack-drift --stack-name {{id-da-pilha}} --profile {{perfil}}`
|
||||
`aws cloudformation detect-stack-drift --stack-name {{id_da_pilha}} --profile {{perfil}}`
|
||||
|
||||
- Verifica o status de desvio de uma pilha usando 'StackDriftDetectionId' do resultado do comando anterior:
|
||||
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack-drift-detection-id}} --profile {{perfil}}`
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack_drift_detection_id}} --profile {{perfil}}`
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
- Usa um passo-a-passo interativo para um recurso da AWS:
|
||||
|
||||
`aws dynamodb wizard {{nova-tabela}}`
|
||||
`aws dynamodb wizard {{nova_tabela}}`
|
||||
|
||||
- Gera um arquivo esqueleo em JSON (útil para ser usado em infraestrutura como código):
|
||||
|
||||
|
||||
@@ -30,4 +30,4 @@
|
||||
|
||||
- Procura na base de dados por uma palavra-chave:
|
||||
|
||||
`emerge {{[-S|--searchdesc]}} {{palavra-chave}}`
|
||||
`emerge {{[-S|--searchdesc]}} {{palavra_chave}}`
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
- Define o valor de uma chave. Falha se a chave não existe ou o valor está fora do intervalo:
|
||||
|
||||
`gsettings set {{org.exemplo.esquema}} {{chave-exemplo}} {{valor}}`
|
||||
`gsettings set {{org.exemplo.esquema}} {{chave_exemplo}} {{valor}}`
|
||||
|
||||
- Imprime o valor de uma chave ou o padrão fornecido pelo esquema se a chave não foi definida no `dconf`:
|
||||
|
||||
`gsettings get {{org.exemplo.esquema}} {{chave-exemplo}}`
|
||||
`gsettings get {{org.exemplo.esquema}} {{chave_exemplo}}`
|
||||
|
||||
- Desfaz a definição de uma chave, para que o valor padrão do esquema seja usado:
|
||||
|
||||
`gsettings reset {{org.exemplo.esquema}} {{chave-exemplo}}`
|
||||
`gsettings reset {{org.exemplo.esquema}} {{chave_exemplo}}`
|
||||
|
||||
- Exibe todos os esquemas, chaves e valores (não realocáveis):
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
- Exibe valores permitidos pelo esquema para uma chave (útil com chaves enumeráveis):
|
||||
|
||||
`gsettings range {{org.exemplo.esquema}} {{chave-exemplo}}`
|
||||
`gsettings range {{org.exemplo.esquema}} {{chave_exemplo}}`
|
||||
|
||||
- Exibe a descrição legível por humanos de uma chave:
|
||||
|
||||
`gsettings describe {{org.exemplo.esquema}} {{chave-exemplo}}`
|
||||
`gsettings describe {{org.exemplo.esquema}} {{chave_exemplo}}`
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Pesquisa o banco de dados de pacotes para uma palavra-chave (inclui o AUR):
|
||||
|
||||
`pacaur -Ss {{palavra-chave}}`
|
||||
`pacaur -Ss {{palavra_chave}}`
|
||||
|
||||
- Lista todos os pacotes atualmente instalados (inclui pacotes do AUR):
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Pesquisa pacote por palavra-chave:
|
||||
|
||||
`zypper {{[se|search]}} {{palavra-chave}}`
|
||||
`zypper {{[se|search]}} {{palavra_chave}}`
|
||||
|
||||
- Mostra informações relacionadas aos repositórios configurados:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Pesquisa uma palavra-chave em nomes de domínio, chaves, e valores:
|
||||
|
||||
`defaults find "{{palavra-chave}}"`
|
||||
`defaults find "{{palavra_chave}}"`
|
||||
|
||||
- Grava o valor padrão de uma opção do aplicativo:
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- Baixa um runtime do Simulador:
|
||||
|
||||
`xcodes runtimes download {{nome-do-runtime}}`
|
||||
`xcodes runtimes download {{nome_do_runtime}}`
|
||||
|
||||
- Baixa e instala um runtime do Simulador:
|
||||
|
||||
`xcodes runtimes install {{nome-do-runtime}}`
|
||||
`xcodes runtimes install {{nome_do_runtime}}`
|
||||
|
||||
- Baixa/instala um runtime do Simulador para a versão iOS/watchOS/tvOS/visionOS especificada (diferencia maiúsculo de minúsculo):
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
- Baixa e instala uma versão específica do Xcode:
|
||||
|
||||
`xcodes install {{versao-do-xcode}}`
|
||||
`xcodes install {{versao_do_xcode}}`
|
||||
|
||||
- Baixa, instala e seleciona a versão mais recente do Xcode:
|
||||
|
||||
@@ -26,4 +26,4 @@
|
||||
|
||||
- Baixa uma versão específica do Xcode para um diretório específico sem instalá-la:
|
||||
|
||||
`xcodes download {{versao-do-xcode}} --directory {{caminho/para/diretorio}}`
|
||||
`xcodes download {{versao_do_xcode}} --directory {{caminho/para/diretorio}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- Mevcut dizinde yeni modül başlat:
|
||||
|
||||
`go mod init {{modülİsmi}}`
|
||||
`go mod init {{modül_ismi}}`
|
||||
|
||||
- Modülleri yerel önbelleğe yükle:
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
- Trace method invoke chain:
|
||||
|
||||
`trace {{class-pattern}} {{method-pattern}}`
|
||||
`trace {{class_pattern}} {{method_pattern}}`
|
||||
|
||||
- Trace method invoke chains and only display invoke information longer than 10 ms:
|
||||
|
||||
`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}'`
|
||||
`trace {{class_pattern}} {{method_pattern}} '#cost > {{10}}'`
|
||||
|
||||
- Trace the invoke chain of multiple classes or multiple methods:
|
||||
|
||||
`trace -E {{class-pattern1}}|{{class-patter2}} {{method-pattern1}}|{{method-pattern2}}|{{method-pattern3}}`
|
||||
`trace -E {{class_pattern1}}|{{class_pattern2}} {{method_pattern1}}|{{method_pattern2}}|{{method_pattern3}}`
|
||||
|
||||
- Track method invoke chains, only display invoke information that exceeds 10 ms, and exit after 5 times:
|
||||
|
||||
`trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}' -n 5`
|
||||
`trace {{class_pattern}} {{method_pattern}} '#cost > {{10}}' -n 5`
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
- Observe the first parameter and return value of method, and expand the nested attributes of the object to 4 levels:
|
||||
|
||||
`watch {{class-pattern}} {{method-pattern}} '{{{ params[0],returnObj }}}' -x 4`
|
||||
`watch {{class_pattern}} {{method_pattern}} '{{{ params[0],returnObj }}}' -x 4`
|
||||
|
||||
- When the value of the first parameter of the method is 5, the second parameter and return value are output, and the object is expanded 4 layers:
|
||||
|
||||
`watch {{class-pattern}} {{method-pattern}} '{{{ params[1],returnObj }}}' '{{"5".equals(params[0])}}' -x 4`
|
||||
`watch {{class_pattern}} {{method_pattern}} '{{{ params[1],returnObj }}}' '{{"5".equals(params[0])}}' -x 4`
|
||||
|
||||
- When the method returns or an exception occurs, observe the count property of the second parameter:
|
||||
|
||||
`watch {{class-pattern}} {{method-pattern}} '{{{ params[1].count }}}' -e -s`
|
||||
`watch {{class_pattern}} {{method_pattern}} '{{{ params[1].count }}}' -e -s`
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- Generate a configuration script from the specified template; output to `stdout`:
|
||||
|
||||
`autoconf {{template-file}}`
|
||||
`autoconf {{template_file}}`
|
||||
|
||||
- Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file:
|
||||
|
||||
`autoconf {{[-f|--force]}} {{[-o|--output]}} {{outfile}} {{template-file}}`
|
||||
`autoconf {{[-f|--force]}} {{[-o|--output]}} {{outfile}} {{template_file}}`
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
- Create a stack from a template file:
|
||||
|
||||
`aws cloudformation create-stack --stack-name {{stack-name}} --region {{region}} --template-body {{file://path/to/file.yml}} --profile {{profile}}`
|
||||
`aws cloudformation create-stack --stack-name {{stack_name}} --region {{region}} --template-body {{file://path/to/file.yml}} --profile {{profile}}`
|
||||
|
||||
- Delete a stack:
|
||||
|
||||
`aws cloudformation delete-stack --stack-name {{stack-name}} --profile {{profile}}`
|
||||
`aws cloudformation delete-stack --stack-name {{stack_name}} --profile {{profile}}`
|
||||
|
||||
- List all stacks:
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
|
||||
- Check the status of a stack:
|
||||
|
||||
`aws cloudformation describe-stacks --stack-name {{stack-id}} --profile {{profile}}`
|
||||
`aws cloudformation describe-stacks --stack-name {{stack_id}} --profile {{profile}}`
|
||||
|
||||
- Initiate drift detection for a stack:
|
||||
|
||||
`aws cloudformation detect-stack-drift --stack-name {{stack-id}} --profile {{profile}}`
|
||||
`aws cloudformation detect-stack-drift --stack-name {{stack_id}} --profile {{profile}}`
|
||||
|
||||
- Check the drift status output of a stack using `StackDriftDetectionId` from the previous command output:
|
||||
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack-drift-detection-id}} --profile {{profile}}`
|
||||
`aws cloudformation describe-stack-resource-drifts --stack-name {{stack_drift_detection_id}} --profile {{profile}}`
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
- Export data stored in a Redis cache:
|
||||
|
||||
`az redis export --container {{container}} --file-format {{file-format}} {{[-n|--name]}} {{name}} --prefix {{prefix}} {{[-g|--resource-group]}} {{resource_group}}`
|
||||
`az redis export --container {{container}} --file-format {{file_format}} {{[-n|--name]}} {{name}} --prefix {{prefix}} {{[-g|--resource-group]}} {{resource_group}}`
|
||||
|
||||
- Delete a Redis cache:
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Deploy the project with a specific profile:
|
||||
|
||||
`devspace deploy {{[-p|--profile]}} {{profile-name}}`
|
||||
`devspace deploy {{[-p|--profile]}} {{profile_name}}`
|
||||
|
||||
- Build all defined images:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Record program by URL from the BBC iPlayer website:
|
||||
|
||||
`get_iplayer "https://www.bbc.co.uk/iplayer/episode/{{program_pid}}/{{name-of-show-episode-number-episode-title}}"`
|
||||
`get_iplayer "https://www.bbc.co.uk/iplayer/episode/{{program_pid}}/{{name_of_show_episode_number_episode_title}}"`
|
||||
|
||||
- Download subtitles for a program by results of search:
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- Quietly merge all files with a custom program:
|
||||
|
||||
`git merge-index -q {{merge-program}} -a`
|
||||
`git merge-index -q {{merge_program}} -a`
|
||||
|
||||
- Inspect merge inputs for a file using `cat`:
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
- Check out a merge request of a specific repo:
|
||||
|
||||
`glab {{[co|mr checkout]}} {{mr_number}} {{[-R|--repo]}} {{repo-owner}}/{{repository}}`
|
||||
`glab {{[co|mr checkout]}} {{mr_number}} {{[-R|--repo]}} {{repo_owner}}/{{repository}}`
|
||||
|
||||
- View the changes made in the merge request:
|
||||
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
|
||||
- Use a HTTP proxy to download Node.js:
|
||||
|
||||
`Install-NodeVersion {{node-version}} -Proxy {{http://example.com}}`
|
||||
`Install-NodeVersion {{node_version}} -Proxy {{http://example.com}}`
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
- Seal a secret using a specific controller namespace of sealed-secrets controller and name:
|
||||
|
||||
`kubeseal < {{secret.yaml}} --controller-namespace {{controller-namespace}} --controller-name {{controller-name}} > {{sealedsecret.yaml}}`
|
||||
`kubeseal < {{secret.yaml}} --controller-namespace {{controller_namespace}} --controller-name {{controller_name}} > {{sealedsecret.yaml}}`
|
||||
|
||||
- Encrypt a raw secret value from a file with a specified name and scope:
|
||||
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
- Download a course using cookie-based authentication:
|
||||
|
||||
`llvd {{[-c|--course]}} {{course-slug}} --cookies`
|
||||
`llvd {{[-c|--course]}} {{course_slug}} --cookies`
|
||||
|
||||
- Download a course at a specific resolution:
|
||||
|
||||
`llvd {{[-c|--course]}} {{course-slug}} {{[-r|--resolution]}} 720`
|
||||
`llvd {{[-c|--course]}} {{course_slug}} {{[-r|--resolution]}} 720`
|
||||
|
||||
- Download a course with captions (subtitles):
|
||||
|
||||
`llvd {{[-c|--course]}} {{course-slug}} {{[-ca|--caption]}}`
|
||||
`llvd {{[-c|--course]}} {{course_slug}} {{[-ca|--caption]}}`
|
||||
|
||||
- Download a course path with throttling between 10 to 30 seconds:
|
||||
|
||||
`llvd {{[-p|--path]}} {{path-slug}} {{[-t|--throttle]}} {{10,30}} --cookies`
|
||||
`llvd {{[-p|--path]}} {{path_slug}} {{[-t|--throttle]}} {{10,30}} --cookies`
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
- Convert a tldr-page file to `stdout`:
|
||||
|
||||
`md-to-clip --no-file-save <(echo '{{page-content}}')`
|
||||
`md-to-clip --no-file-save <(echo '{{page_content}}')`
|
||||
|
||||
- Convert tldr-pages files while recognizing additional placeholders from a specific config:
|
||||
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@
|
||||
|
||||
- Convert CSV to JSON, performing calculations, and display those calculations:
|
||||
|
||||
`mlr --icsv --ojson put '${{newField1}} = ${{oldFieldA}}/${{oldFieldB}}' {{example.csv}}`
|
||||
`mlr --icsv --ojson put '${{new_field1}} = ${{old_field_a}}/${{old_field_b}}' {{example.csv}}`
|
||||
|
||||
- Receive JSON and format the output as vertical JSON:
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
|
||||
- Filter lines of a compressed CSV file treating numbers as [S]trings:
|
||||
|
||||
`mlr --prepipe 'gunzip' {{[-c|--csv]}} filter {{[-S|--infer-none]}} '${{fieldName}} =~ "{{regex}}"' {{example.csv.gz}}`
|
||||
`mlr --prepipe 'gunzip' {{[-c|--csv]}} filter {{[-S|--infer-none]}} '${{field_name}} =~ "{{regex}}"' {{example.csv.gz}}`
|
||||
|
||||
@@ -6,23 +6,23 @@
|
||||
|
||||
- Check MQTT login credentials for a target (MQTT broker's hostname):
|
||||
|
||||
`mqtt_check.py {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
`mqtt_check.py {{domain}}/{{username}}:{{password}}@{{target_name}}`
|
||||
|
||||
- Specify a custom client ID for authentication:
|
||||
|
||||
`mqtt_check.py -client-id {{client_id}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
`mqtt_check.py -client-id {{client_id}} {{domain}}/{{username}}:{{password}}@{{target_name}}`
|
||||
|
||||
- Enable SSL for the connection:
|
||||
|
||||
`mqtt_check.py -ssl {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
`mqtt_check.py -ssl {{domain}}/{{username}}:{{password}}@{{target_name}}`
|
||||
|
||||
- Connect to a specific port (default is 1883):
|
||||
|
||||
`mqtt_check.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
`mqtt_check.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{target_name}}`
|
||||
|
||||
- Enable debug output:
|
||||
|
||||
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{target_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
- Use a custom AWS profile and filter audited regions:
|
||||
|
||||
`prowler aws {{[-p|--profile]}} {{custom-profile}} {{[-f|--filter-region]}} {{us-east-1 eu-south-2 ...}}`
|
||||
`prowler aws {{[-p|--profile]}} {{custom_profile}} {{[-f|--filter-region]}} {{us-east-1 eu-south-2 ...}}`
|
||||
|
||||
- Run checks for selected AWS services:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Create a project from a specific template (e.g `azure-python`):
|
||||
|
||||
`pulumi new {{provided-template}}`
|
||||
`pulumi new {{provided_template}}`
|
||||
|
||||
- Create a project from a local file:
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Download a license by its SPDX identifier and place it in the LICENSES directory:
|
||||
|
||||
`reuse download {{spdx-identifier}}`
|
||||
`reuse download {{spdx_identifier}}`
|
||||
|
||||
- Download all missing licenses detected in the project:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Create new Sails project:
|
||||
|
||||
`sails new {{projectName}}`
|
||||
`sails new {{project_name}}`
|
||||
|
||||
- Generate Sails API:
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
- Run cmake build in current directory with extra cmake arguments:
|
||||
|
||||
`sfdk cmake --build . {{cmake-arguments}}`
|
||||
`sfdk cmake --build . {{cmake_arguments}}`
|
||||
|
||||
- Run cmake build in current directory with extra build tool arguments:
|
||||
|
||||
`sfdk cmake --build . -- {{build-tool-arguments}}`
|
||||
`sfdk cmake --build . -- {{build_tool_arguments}}`
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- Execute a command on a device by name or index:
|
||||
|
||||
`sfdk device exec {{device-name-or-idx}} {{command}}`
|
||||
`sfdk device exec {{device_name_or_idx}} {{command}}`
|
||||
|
||||
- Run an interactive shell on a device by name or index:
|
||||
|
||||
`sfdk device exec {{device-name-or-idx}}`
|
||||
`sfdk device exec {{device_name_or_idx}}`
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
|
||||
- Get a SUI coin from custom faucet:
|
||||
|
||||
`sui client faucet --url {{custom-faucet-url}}`
|
||||
`sui client faucet --url {{custom_faucet_url}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- Create a new address with the ED25519 scheme:
|
||||
|
||||
`sui client new-address ed25519 {{address-alias}}`
|
||||
`sui client new-address ed25519 {{address_alias}}`
|
||||
|
||||
- Create a new testnet environment with an RPC URL and alias:
|
||||
|
||||
@@ -13,15 +13,15 @@
|
||||
|
||||
- Switch to the address of your choice (accepts also an alias):
|
||||
|
||||
`sui client switch --address {{address-alias}}`
|
||||
`sui client switch --address {{address_alias}}`
|
||||
|
||||
- Switch to the given environment:
|
||||
|
||||
`sui client switch --env {{env-alias}}`
|
||||
`sui client switch --env {{env_alias}}`
|
||||
|
||||
- Publish a smart contract:
|
||||
|
||||
`sui client publish {{package-path}}`
|
||||
`sui client publish {{package_path}}`
|
||||
|
||||
- Interact with the Sui faucet:
|
||||
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
- Update a tracker's passcode in a torrent file:
|
||||
|
||||
`transmission-edit {{[-r|--replace]}} {{old-passcode}} {{new-passcode}} {{path/to/file.torrent}}`
|
||||
`transmission-edit {{[-r|--replace]}} {{old_passcode}} {{new_passcode}} {{path/to/file.torrent}}`
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- Scan S3 buckets using IAM Roles:
|
||||
|
||||
`trufflehog s3 --role-arn {{iam-role-arn}}`
|
||||
`trufflehog s3 --role-arn {{iam_role_arn}}`
|
||||
|
||||
- Scan individual files or directories:
|
||||
|
||||
|
||||
+1
-1
@@ -21,4 +21,4 @@
|
||||
|
||||
- Run up to `max-jobs` processes in parallel; the default is 1. If `max-jobs` is 0, xe will run as many processes as cpu cores:
|
||||
|
||||
`{{arguments_source}} | xe -j {{max-jobs}} {{command}}`
|
||||
`{{arguments_source}} | xe -j {{max_jobs}} {{command}}`
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
- Set the value of a key. Fails if the key doesn't exist or the value is out of range:
|
||||
|
||||
`gsettings set {{org.example.schema}} {{example-key}} {{value}}`
|
||||
`gsettings set {{org.example.schema}} {{example_key}} {{value}}`
|
||||
|
||||
- Print the value of a key or the schema-provided default if the key has not been set in `dconf`:
|
||||
|
||||
`gsettings get {{org.example.schema}} {{example-key}}`
|
||||
`gsettings get {{org.example.schema}} {{example_key}}`
|
||||
|
||||
- Unset a key, so that its schema default value will be used:
|
||||
|
||||
`gsettings reset {{org.example.schema}} {{example-key}}`
|
||||
`gsettings reset {{org.example.schema}} {{example_key}}`
|
||||
|
||||
- Display all (non-relocatable) schemas, keys, and values:
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
- Display schema-allowed values for a key (helpful with enum keys):
|
||||
|
||||
`gsettings range {{org.example.schema}} {{example-key}}`
|
||||
`gsettings range {{org.example.schema}} {{example_key}}`
|
||||
|
||||
- Display the human-readable description of a key:
|
||||
|
||||
`gsettings describe {{org.example.schema}} {{example-key}}`
|
||||
`gsettings describe {{org.example.schema}} {{example_key}}`
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- Open the program `xterm` as a floating window on the group named `test-group`:
|
||||
|
||||
`qtile run-cmd --group {{test-group}} --float {{xterm}}`
|
||||
`qtile run-cmd --group {{test_group}} --float {{xterm}}`
|
||||
|
||||
- Restart the window manager:
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- Specify Tor configuration file:
|
||||
|
||||
`torify -c {{config-file}} {{command}}`
|
||||
`torify -c {{config_file}} {{command}}`
|
||||
|
||||
- Use a specific Tor SOCKS proxy:
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
|
||||
- Execute commands in parallel:
|
||||
|
||||
`{{command}} | rargs -w {{max-procs}}`
|
||||
`{{command}} | rargs -w {{max_procs}}`
|
||||
|
||||
- Consider each line of input to be separated by a NUL character (`\0`) instead of a newline (`\n`):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user