hello-help
TypeScript icon, indicating that this package has built-in type declarations

0.0.5Β β€’Β PublicΒ β€’Β Published

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

/hello-help/

    Package Sidebar

    Install

    npm i hello-help

    Weekly Downloads

    8

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    17.7 kB

    Total Files

    39

    Last publish

    Collaborators

    • dusunax