Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 idea

License
==
MIT