Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svenliebig/nodejs-cli-template
https://github.com/svenliebig/nodejs-cli-template
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/svenliebig/nodejs-cli-template
- Owner: svenliebig
- Created: 2023-11-01T23:05:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T23:21:10.000Z (about 1 year ago)
- Last Synced: 2024-05-27T22:43:17.165Z (6 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLI-Template
Use: NodeJS 18
```bash
git clone [email protected]:svenliebig/nodejs-cli-template.git
cd nodejs-cli-template
chmod +x ./main.js
```now you can just `./main.js` on a mac to execute the file.
add an alias to your `~/.bash_profile` like this:
```bash
alias runmyjs="//nodejs-cli-template/main.js"
```Now you can reopen you terminal, and you can `runmyjs` from anywhere you want!