1.0.1
Print help CLI-option in specific format
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Versions
deno-cli-help
Prints out flag options.
Example
import { printHelp, Options } from "https://deno.land/x/deno-cli-help@v1.0.0/mod.ts"
const options: Options = {
name: '<cli-command>',
version: '1.0.0',
description: 'Brief description of what this tool does.',
author: [{ name: 'Tim Hårek Andreassen', email: 'tim@harek.no' }],
source: 'https://github.com/timharek/deno-cli-help',
flags: [
{
name: 'version',
aliases: ['v', 'V'],
description: 'Prints version.'
}
]
}
printHelp(options);