#cli #command-line #interactive #terminal #screen

falcon-cli

Easily and efficiently develop quality and fully featured CLI apps

9 releases

0.1.8 Mar 24, 2024
0.1.7 Oct 9, 2023

#438 in Command-line interface

Download history 10/week @ 2024-02-17 17/week @ 2024-02-24 1/week @ 2024-03-09 131/week @ 2024-03-23 23/week @ 2024-03-30 2/week @ 2024-04-06

317 downloads per month

MIT license

27KB
516 lines

Falcon CLI

Easily and efficiently develop high quality and fully featured CLI apps. Supports the following:

  • Excellent and easily accessible functions to send wordwrapped text, send a header, get user input, get password, get new password (ie. enter twice to confirm), get y/n confirmation, display table layout ala mySQL prompt, display two column borderless table, and more.
  • Easily add routes to new CLI commands. Simply define the impl of the CLI command, the command alias, shortcuts, and any flags that will contain values.
  • Built-in help screens for every CLI command
  • Utilizes the levenshtein algorithm to automatically identify and correct typos within command names.
  • Categorize commands to one or more levels for better organization.

For full usage details including code example, please visit the Usage page on Github.

Contact

If you need any assistance or software development, contact me anytime via e-mail at matt@apexpl.io.

Dependencies

~6–18MB
~182K SLoC