@carloslauriano/cli-maker
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

cli-maker

The idea is to make a helper for creating a custom CLI

Below is an idea of how I would like it to look

import cliMaker from 'cli-maker'

const cli = new cliMaker();

cli.registerCommand({
  comand: 'hello',
  alias:'h'
},
()=>{
  console.log('world');
})

customCli hello

-> world

or


customCli h

-> world

Contributors

Made with contrib.rocks.

/@carloslauriano/cli-maker/

    Package Sidebar

    Install

    npm i @carloslauriano/cli-maker

    Weekly Downloads

    1

    Version

    1.0.3

    License

    Apache

    Unpacked Size

    16.5 kB

    Total Files

    12

    Last publish

    Collaborators

    • carloslauriano