1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/figlet.md
Ulices bea8eb934b
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>
2024-03-15 17:15:50 -03:00

749 B

figlet

Generate ASCII banners from user input. See also: showfigfonts. More information: http://www.figlet.org/figlet-man.html.

  • Generate by directly inputting text:

figlet {{input_text}}

  • Use a custom [f]ont file:

figlet {{input_text}} -f {{path/to/font_file.flf}}

  • Use a [f]ont from the default font directory (the extension can be omitted):

figlet {{input_text}} -f {{font_filename}}

  • Pipe command output through FIGlet:

{{command}} | figlet

  • 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}}