0.4.0 • Published 3 months ago

ly-command v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

ly-command

简体中文 | English

Centralized management of node commands

Installation

npm install -g ly-command

Usage

Publishing your first command

  1. 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
}
  1. Create index.js
// index.js
console.log("hello ly");
  1. Run Debugging

Execute the script command ly start in the project root directory.

  1. Publish Command Locally

In the project root directory, execute ly publish.

  1. Execute the Published Command

Run ly run hello or ly hello.

Remote Command Repository

Remote Command Repository

Other Commands

CommandDescription
ly install <commandName>Install remote command
ly loginLogin
ly startStart executing command
ly run <commandName>Run command
ly listShow all commands
ly remove <commandName>Remove specified command
ly clearClear all commands
ly publishPublish command locally
ly publish -rPublish 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