Usually Will Generate Usage Of Node.JS Command-Line Applications. It is compatible with Argufy which can save arguments in the
yarn add -E usually
Table Of Contents
The package is available by importing its default function:
Create a string to display as a help message.
_usually.Config: The configuration object.
|usage*||!Object<string, string>||The map with possible arguments (flags, options) and their information.|
|description||string||What does the program do?|
|line||string||The summary of the program in one line.|
|example||string||The example of the program usage.|
const res =console
A test command-line applicationusually [-c command|command2] [-h]-h print help-c execute this commandExample:usually -c command2
The algorithm will tab the usage object and all new lines will appear indented to the required padding.
const res =
Run the usually-h print help-c execute this command, that will performthe operations on the CPU and return resultupon the full execution or terminate after30s of inactivity.
Argufy is a program that manages arguments for CLI programs by storing them in a separate XML file so that they are readily updatable in both source code and README documentation. It also generates the script that extracts those arguments and works with Google Closure Compiler. Read More.
(c) Art Deco 2019