0.4.0 • Published 2 years 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
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.9
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.8
2 years ago
0.2.3
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.1
2 years ago
0.2.2
2 years ago
0.2.0
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago