DEV Community

loading...

CLI Starter says Hello World!

drozerah profile image Drozerah ・1 min read

To the community,

Hi there! This short message to let you know cli-starter boilerplate is born this sunny day!

This material comes with the minimum settings and files that are required to start the creation of a new CLI utility with a Node.js and NPM environment...

Give it a try!

Structure

├───bin/
│   └───cli.js
├───.gitignore
├───licence
├───package-lock.json
├───package.json
└───README.md

Install

$ git clone https://github.com/Drozerah/cli-starter.git

Then install globally:

$ npm install -g

Once you are done with this step, you need to:

$ npm link

This command will register your CLI project locally so you are now able to run the command below anywhere into the terminal:

$ cli-starter

This command will prompt a message into the terminal meaning that everything is fine with the installation of cli-starter:

cli starter

That's it!

Next step?

Fork it & Be creative!

Thanks for reading!

See you next time!

Drozerah

Discussion (0)

pic
Editor guide