0.0.5 • Published 5 years ago

kmdr.sh v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

kmdr.sh

kmdr schemas

A schema is the machine-readable structure used by kmdr for organizing command descriptions.

Every program explained by kmdr has a schema with key-value pairs defining the properties of commands. There are three sets of key-value pairs which make up a schema: program, subcommand, and option. Some programs do not have subcommands or/nor options.

Program key-value pairs

The basis of a schema is its program key-value pairs. Information about the key-value pairs for a CLI program is described in Table 1.0 with yarn as the example program.

Key-value pairDefinitionRequiredTypeSample value
nameThe name of the program or subcommandYesstring"git"