Skip to content

patorjk/figlet-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

figlet-cli

A command line interface for the figlet.js library.

  _______  __     _______   ___       _______  ___________  
 /"     "||" \   /" _   "| |"  |     /"     "|("     _   ") 
(: ______)||  | (: ( \___) ||  |    (: ______) )__/  \\__/  
 \/    |  |:  |  \/ \      |:  |     \/    |      \\_ /     
 // ___)  |.  |  //  \ ___  \  |___  // ___)_     |.  |     
(:  (     /\  |\(:   _(  _|( \_|:  \(:      "|    \:  |     
 \__/    (__\_|_)\_______)  \_______)\_______)     \__|     
                                                            

Getting Started

Install this globally and you'll have access to the figlet.js library on the command line:

npm install -g figlet-cli

Usage Examples

Default Options

Below is a simple example that uses the default options.

figlet "hello world"

Custom Options

Below is an example that uses a custom font.

figlet -f "Dancing Font" "Hi"

Following example uses an external font file

figlet --ff .\phm-largetype.flf "Hi"

Goals

Eventually I think it would be nice for this app to have to same command line interface as the C-based app.

Credits

This was originally submitted to figlet.js by timhudson. It's been broken out as a spearate project so users can control which figlet they want to use on the command line (i.e., so installing the figlet.js library globally wont conflict with the C-based command line figlet app).

Release History

  • 2014.01.02 v0.1.0 Initial release.

About

A command line interface for the figlet.js library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •