Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bogas04/project-manager-cli
💻 Project manager built with NodeJS 4.0.0
https://github.com/bogas04/project-manager-cli
Last synced: about 2 months ago
JSON representation
💻 Project manager built with NodeJS 4.0.0
- Host: GitHub
- URL: https://github.com/bogas04/project-manager-cli
- Owner: bogas04
- License: mit
- Created: 2015-09-21T16:20:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T17:37:12.000Z (over 9 years ago)
- Last Synced: 2024-11-09T02:38:20.343Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 402 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Package Manager CLI
==Inspired by [eivind88/prm](https://github.com/eivind88/prm), I decided to build it using NodeJS.
Though it doesn't really do anything better, I just wanted something to play with ES2015.However, the project does benefit from being a NodeJS module, ***multiplatform support***.
Note: Node 4.0.0 or higher needed, as the code is written in ES2015
![Screencast](/assets/screencast.gif)
Installation
==
Make sure you have Node 4.0.0 (at least) installed and npm installed.
```bash
npm i node-pmc -g
```Setup
==
Since a node process can only change working directory of its child process,
in order to cd into your project, you will need to add an alias to your bash_rc, bash_profile like the following:
```bash
#pmc
pmcd () { cd `pmc $1`; }
pmcs () { cd `pmc $1`; `pmc start $1`; }
```Usage
==
List all projects```bash
pmc ls|list
```Add new project
```bash
pmc add
```
Remove existing project```bash
pmc rm|remove
```Open existing project
If you have added an [alias](#setup)
```bash
pmc-cd
```
Else
```bash
cd `pmc `
```
or```bash
cd $(pmc )
```Add start script for a project (_NOTE: It overwrites, so you can use it to change or even remove script_)
```bash
pmc add-start
```To see start script of a project
```bash
pmc start
```Start a project
```bash
$(pmc start )
```
Credits
==
Thanks to [eivind88/prm](https://github.com/eivind88/prm) for the ideaLicense
==
MIT