https://github.com/3lang3/cli
work cli
https://github.com/3lang3/cli
Last synced: over 1 year ago
JSON representation
work cli
- Host: GitHub
- URL: https://github.com/3lang3/cli
- Owner: 3lang3
- Created: 2021-03-09T05:01:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T03:24:18.000Z (over 2 years ago)
- Last Synced: 2025-02-01T02:41:23.790Z (over 1 year ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cli
===
[](https://oclif.io)
[](https://npmjs.org/package/cli)
[](https://npmjs.org/package/cli)
[](https://github.com/3lang3/cli/blob/master/package.json)
* [Usage](#usage)
* [Commands](#commands)
# Usage
```sh-session
$ npm install -g @sanlang/cli
$ cli COMMAND
running command...
$ cli (-v|--version|version)
@sanlang/cli/0.0.8 darwin-arm64 node-v20.11.1
$ cli --help [COMMAND]
USAGE
$ cli COMMAND
...
```
# Commands
* [`cli create [FILE]`](#cli-create-file)
* [`cli help [COMMAND]`](#cli-help-command)
* [`cli run [IP]`](#cli-run-ip)
## `cli create [FILE]`
拉取脚手架cli工具
```
USAGE
$ cli create [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ cli create
```
_See code: [src/commands/create.ts](https://github.com/3lang3/cli/blob/v0.0.8/src/commands/create.ts)_
## `cli help [COMMAND]`
display help for cli
```
USAGE
$ cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
```
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_
## `cli run [IP]`
describe the command here
```
USAGE
$ cli run [IP]
OPTIONS
-h, --help show CLI help
-i, --ip=ip get your ip address
EXAMPLE
$ langcli ip
```
_See code: [src/commands/run.ts](https://github.com/3lang3/cli/blob/v0.0.8/src/commands/run.ts)_