#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

#495 in Command-line interface

Download history 7/week @ 2024-02-16 19/week @ 2024-02-23 1/week @ 2024-03-01 1/week @ 2024-03-08 130/week @ 2024-03-22 23/week @ 2024-03-29 3/week @ 2024-04-05

156 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–17MB
~180K SLoC