0.0.5 • Published 1 year ago

hello-help v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

hello-help

GitHub npm version install size npm downloads

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? 🩷
0.0.5

1 year ago

0.0.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.4

1 year ago

1.3.0

2 years ago