https://github.com/mugan86/file-creator-cli
CLI script to generate in differents formats files very easy using terminal
https://github.com/mugan86/file-creator-cli
cli cli-creator css js node php rb ruby ts typescript
Last synced: 2 months ago
JSON representation
CLI script to generate in differents formats files very easy using terminal
- Host: GitHub
- URL: https://github.com/mugan86/file-creator-cli
- Owner: mugan86
- Created: 2019-01-19T12:38:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T16:37:26.000Z (over 7 years ago)
- Last Synced: 2026-01-03T14:28:44.285Z (5 months ago)
- Topics: cli, cli-creator, css, js, node, php, rb, ruby, ts, typescript
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File creator with CLI
This project use to create select name and extension file in current directory that execute script.
## Instructions
### Install
**Global**
```
npm install -g mugan86/file-creator-cli
```
**Local**
```
npm install mugan86/file-creator-cli
```
* Add in **package.json**
```
...
"scripts": {
"creator": "./node_modules/.bin/creator"
},
...
```
### Use
```
creator // If install with global
npm run creator //If install with local
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
( F | i | l | e ) ( c | r | e | a | t | o | r ) ( w | i | t | h ) ( C | L | I )
\_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
What is the name of the file without extension? example
? What is the file extension?
.java
.kt
.txt
❯ .xml
.rb
.js
.php
.css
.ts
Well done! File created at /cli-node/example.xml
```