0.4.0 • Published 3 months ago
ly-command v0.4.0
ly-command
简体中文 | English
Centralized management of node
commands
Installation
npm install -g ly-command
Usage
Publishing your first command
- Initialize your project with
npm init -y
{
"name": "hello", // Command name
"version": "1.0.0", // Version number
"description": "first command", // Command description
"main": "index.js" // Entry file, can be a js/ts file
}
- Create
index.js
// index.js
console.log("hello ly");
- Run Debugging
Execute the script command ly start
in the project root directory.
- Publish Command Locally
In the project root directory, execute ly publish
.
- Execute the Published Command
Run ly run hello
or ly hello
.
Remote Command Repository
Other Commands
Command | Description |
---|---|
ly install <commandName> | Install remote command |
ly login | Login |
ly start | Start executing command |
ly run <commandName> | Run command |
ly list | Show all commands |
ly remove <commandName> | Remove specified command |
ly clear | Clear all commands |
ly publish | Publish command locally |
ly publish -r | Publish to remote |
0.4.0
3 months ago
0.3.2
3 months ago
0.3.1
3 months ago
0.3.0
3 months ago
0.2.9
3 months ago
0.2.7
4 months ago
0.2.6
4 months ago
0.2.8
4 months ago
0.2.3
4 months ago
0.2.5
4 months ago
0.2.4
4 months ago
0.2.1
4 months ago
0.2.2
4 months ago
0.2.0
4 months ago
0.1.8
4 months ago
0.1.7
4 months ago
0.1.6
4 months ago
0.1.5
4 months ago
0.1.4
4 months ago
0.1.3
4 months ago
0.1.2
4 months ago
0.1.1
4 months ago
0.1.0
4 months ago
0.0.2
4 months ago
0.0.1
4 months ago