EDIT IS CURRENTLY BROKEN I have to do my day job so it won't be fixed for a bit
This is a simple program that allows one to run projects that use "npm run start" from anywhere in your file directory.
Designed on windows, and honestly I haven't tested it on any other device to see if it works.
Feel free to send a PR, this is my first CLI app so I imagine there are many people who could improve this
- node
- npm
- Clone this repository
$ git clone https://github.com/woflmao/NodeApplicationManager.git
- Install dependencies
$ npm install
- Install app globally
$ cd nodeApplicationManager $ npm install -g .
- Run the app
$ appman
- Add a project
Enter a project name, or enter add, remove, or edit: add Enter the name of the new project: <project-name> Enter the path of the new project: <path-to-project>
- Run a project
Enter a project name, or enter add, remove, or edit: <project-name> Enter any args you wish to pass (e.g dev, test): <args i.e dev, test>
- Edit a project
>>> Enter the name of the project you wish to edit: <existing project name> >>> Enter a new name for the project if you wish: <new-project-name (optional)> >>> Enter a new path for project vc: <new-project-path(optional)>
- Remove a project
>>> Enter the name of the project you wish to remove: <existing-project-name>
- Whitespace validation
- No stdout (can't see usual output of npm run start)
- Not tested with operating systems that aren't windows