1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/figlet.md

26 lines
553 B
Markdown
Raw Normal View History

2017-01-19 17:49:50 -05:00
# figlet
> Generate ASCII banners from user input.
2021-08-29 17:38:30 -07:00
> See also: `showfigfonts`.
2021-04-17 17:15:37 +02:00
> More information: <http://www.figlet.org/figlet-man.html>.
2017-01-19 17:49:50 -05:00
- Generate by directly inputting text:
`figlet {{input_text}}`
- Use a custom font file:
2021-07-14 16:31:29 -03:00
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
- Use a font from the default font directory (the extension can be omitted):
2021-07-14 16:31:29 -03:00
`figlet {{input_text}} -f {{font_filename}}`
2017-01-19 17:49:50 -05:00
- Pipe command output through FIGlet:
2017-01-19 17:49:50 -05:00
`{{command}} | figlet`
- Show available FIGlet fonts:
`showfigfonts {{optional_string_to_display}}`