ngplex_cli
v1.0.1
Published
Ngplex.io Custom CLI Command App
Downloads
4
Readme
NGPLEX.IO CLI (Command Line Interface)
Project that allows you to connect an existing directory with a remote GIT repository, add some files that you choose to the .gitignore
file, and send the first commit with a custom message.
In future versions new custom commands will be added.
Installation
Add the next global dependency:
Using npm
:
$ npm install -g ngplex_cli
Note. This install process may require
sudo
permissions in order to execute the install process.
or simply use Yarn
$ yarn global add ngplex_cli
Usage
Create a folder in your compouter, enter in your custom folder, set the needed initial files and folders, and run the next command:
$ ngplex-cli
The prompt will ask you some questions:
- Select the files and/or folders you wish to ignore.
- Please enter your Remote GIT Repository URL (1).
- Please enter a message for the first commit.
(1) The remote GIT repository support Bitbucket ® "[email protected]:<repo_owner>/.git" and GIT "https://github.com/<user>/<repo>.git" formats. See the the official documentation for better support.
Dependencies
This package only need Node.js (version ^6.0.0) and Git in order to make some changes within your custom directory for connect with your remote GIT repository.
Internally the package use the next dependencies:
"chalk": "^2.3.2",
"clear": "^0.1.0",
"clui": "^0.3.6",
"configstore": "^3.1.1",
"figlet": "^1.2.0",
"inquirer": "^5.1.0",
"lodash": "^4.17.5",
"minimist": "^1.2.0",
"simple-git": "^1.92.0",
"touch": "^3.1.0"
License
MIT
Author
© 2018 | Ngplex.io (Francisco J. Reyes)