0.0.5 ⢠Published 1 year ago
hello-help v0.0.5
hello-help
boilerplate from modern-npm-package
Get Started
š¦ Hello Help āØ
$ npx hello-help
$ npx hello-help --help
- simple code example at:
example/cli.ts
import { HelloHelp, helloHelpCli } from "hello-help";
const helloHelp = new HelloHelp(
"š¦ hello-help āØ",
"print your --help option easy",
{
hello: {
optionName: "hello",
description: "nice to say hello to you š",
},
heart: {
optionName: "heart",
shortenOptionName: "ht",
description: "need a heart? š©·",
},
}
);
helloHelpCli(helloHelp);
A. command with no --help option
š¦ hello-help āØ
print your --help option easy
B. command with --help option
š¦ hello-help ⨠options
--hello: nice to say hello to you š
--heart, -ht: need a heart? š©·