https://github.com/jalajcodes/node-cli
A CLI tool to create files with extensions
https://github.com/jalajcodes/node-cli
chalk cli cli-app figlet inquirer lodash node nodejs shelljs
Last synced: 3 months ago
JSON representation
A CLI tool to create files with extensions
- Host: GitHub
- URL: https://github.com/jalajcodes/node-cli
- Owner: jalajcodes
- Created: 2018-07-11T07:31:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-14T05:28:41.000Z (over 7 years ago)
- Last Synced: 2025-03-28T23:30:33.039Z (7 months ago)
- Topics: chalk, cli, cli-app, figlet, inquirer, lodash, node, nodejs, shelljs
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-cli
This a small command line interface tool to create empty files with extensions.
To install:
1. Clone this repository : ``` git clone https://github.com/thevip/node-cli.git ```
2. In the cloned directory run ``` npm install ``` (it will install necessary dependencies.)
3. In the same directory run ``` node index.js ``` to run the CLI.To execute this script anywhere add a bin section in your ``` package.json ``` file and run ``` npm link ```
```
{
"name": "creator",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "thevip",
"license": "ISC",
"dependencies": {
"chalk": "^2.4.1",
"figlet": "^1.2.0",
"inquirer": "^6.0.0",
"shelljs": "^0.8.2"
},
"bin": {
"creator": "./index.js"
}
}
``````
$ npm link
$ creator
```# Thanks!