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}}`
|
|
|
|
|
2024-03-15 14:15:50 -06:00
|
|
|
- Use a custom [f]ont file:
|
2017-01-19 17:49:50 -05:00
|
|
|
|
2021-07-14 16:31:29 -03:00
|
|
|
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
|
|
|
|
|
2024-03-15 14:15:50 -06:00
|
|
|
- Use a [f]ont from the default font directory (the extension can be omitted):
|
2021-07-14 16:31:29 -03:00
|
|
|
|
2020-05-22 14:31:24 +02:00
|
|
|
`figlet {{input_text}} -f {{font_filename}}`
|
2017-01-19 17:49:50 -05:00
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Pipe command output through FIGlet:
|
2017-01-19 17:49:50 -05:00
|
|
|
|
|
|
|
`{{command}} | figlet`
|
2021-08-15 19:59:09 +02:00
|
|
|
|
|
|
|
- Show available FIGlet fonts:
|
|
|
|
|
|
|
|
`showfigfonts {{optional_string_to_display}}`
|
2024-03-15 14:15:50 -06:00
|
|
|
|
|
|
|
- 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}}`
|