1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 06:06:00 +02:00

figlet: 2 more commands and Spanish translation (#12505)

* figlet: add 2 more examples

Also use brackets around flag letters, example: [f]ont

* figlet: add Spanish translation

* Update pages/common/figlet.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages.es/common/figlet.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Ulices 2024-03-15 14:15:50 -06:00 committed by GitHub
parent 3ef05a23e8
commit bea8eb934b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 5 deletions

View file

@ -8,14 +8,26 @@
`figlet {{texto_de_entrada}}`
- Usa un archivo de fuente personalizada:
- Usa un archivo de [f]uente personalizada:
`figlet {{texto_de_entrada}} -f {{ruta/al/archivo_de_fuente.flf}}`
- Use una fuente del directorio predeterminado (la extensión puede ser omitida):
- Usa una [f]uente del directorio predeterminado (la extensión puede ser omitida):
`figlet {{texto_de_entrada}} -f {{archivo_de_fuente}}`
- Redirige la salida de un comando hacia figlet:
- Redirige la salida de un comando hacia FIGlet:
`{{comando}} | figlet`
- Muestra las fuentes de FIGlet disponibles:
`showfigfonts {{texto_opcional_para_mostrar}}`
- Utiliza el ancho total del [t]erminal y [c]entra el texto de entrada:
`figlet -t -c {{texto_de_entrada}}`
- Muestra todos los caracteres utilizando todo su ancho para evitar traslapes:
`figlet -W {{input_text}}`

View file

@ -8,11 +8,11 @@
`figlet {{input_text}}`
- Use a custom font file:
- Use a custom [f]ont file:
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
- Use a font from the default font directory (the extension can be omitted):
- Use a [f]ont from the default font directory (the extension can be omitted):
`figlet {{input_text}} -f {{font_filename}}`
@ -23,3 +23,11 @@
- Show available FIGlet fonts:
`showfigfonts {{optional_string_to_display}}`
- Use the full width of the [t]erminal and [c]enter the input text:
`figlet -t -c {{input_text}}`
- Display all characters at full [W]idth to avoid overlapping:
`figlet -W {{input_text}}`