WIP
This commit is contained in:
@@ -20,7 +20,7 @@ $ npm install -g jj-command-line
|
|||||||
$ jj COMMAND
|
$ jj COMMAND
|
||||||
running command...
|
running command...
|
||||||
$ jj (--version)
|
$ jj (--version)
|
||||||
jj-command-line/0.0.1 darwin-arm64 node-v20.16.0
|
jj-command-line/0.0.2 darwin-arm64 node-v20.16.0
|
||||||
$ jj --help [COMMAND]
|
$ jj --help [COMMAND]
|
||||||
USAGE
|
USAGE
|
||||||
$ jj COMMAND
|
$ jj COMMAND
|
||||||
@@ -29,6 +29,7 @@ USAGE
|
|||||||
<!-- usagestop -->
|
<!-- usagestop -->
|
||||||
# Commands
|
# Commands
|
||||||
<!-- commands -->
|
<!-- commands -->
|
||||||
|
* [`jj autocomplete [SHELL]`](#jj-autocomplete-shell)
|
||||||
* [`jj help [COMMAND]`](#jj-help-command)
|
* [`jj help [COMMAND]`](#jj-help-command)
|
||||||
* [`jj plugins`](#jj-plugins)
|
* [`jj plugins`](#jj-plugins)
|
||||||
* [`jj plugins add PLUGIN`](#jj-plugins-add-plugin)
|
* [`jj plugins add PLUGIN`](#jj-plugins-add-plugin)
|
||||||
@@ -41,6 +42,37 @@ USAGE
|
|||||||
* [`jj plugins unlink [PLUGIN]`](#jj-plugins-unlink-plugin)
|
* [`jj plugins unlink [PLUGIN]`](#jj-plugins-unlink-plugin)
|
||||||
* [`jj plugins update`](#jj-plugins-update)
|
* [`jj plugins update`](#jj-plugins-update)
|
||||||
|
|
||||||
|
## `jj autocomplete [SHELL]`
|
||||||
|
|
||||||
|
Display autocomplete installation instructions.
|
||||||
|
|
||||||
|
```
|
||||||
|
USAGE
|
||||||
|
$ jj autocomplete [SHELL] [-r]
|
||||||
|
|
||||||
|
ARGUMENTS
|
||||||
|
SHELL (zsh|bash|powershell) Shell type
|
||||||
|
|
||||||
|
FLAGS
|
||||||
|
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
Display autocomplete installation instructions.
|
||||||
|
|
||||||
|
EXAMPLES
|
||||||
|
$ jj autocomplete
|
||||||
|
|
||||||
|
$ jj autocomplete bash
|
||||||
|
|
||||||
|
$ jj autocomplete zsh
|
||||||
|
|
||||||
|
$ jj autocomplete powershell
|
||||||
|
|
||||||
|
$ jj autocomplete --refresh-cache
|
||||||
|
```
|
||||||
|
|
||||||
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.8/src/commands/autocomplete/index.ts)_
|
||||||
|
|
||||||
## `jj help [COMMAND]`
|
## `jj help [COMMAND]`
|
||||||
|
|
||||||
Display help for jj.
|
Display help for jj.
|
||||||
|
|||||||
+8
-8
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jj-command-line",
|
"name": "jj-command-line",
|
||||||
"description": "jj cli",
|
"description": "jj cli",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"author": "Jason Jafari",
|
"author": "Jason Jafari",
|
||||||
"bin": {
|
"bin": {
|
||||||
"jj": "./bin/run.js"
|
"jj": "./bin/run.js"
|
||||||
@@ -9,7 +9,9 @@
|
|||||||
"bugs": "https://github.com/https://github.com/jafarijason/jj/jj/issues",
|
"bugs": "https://github.com/https://github.com/jafarijason/jj/jj/issues",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@oclif/core": "^4",
|
"@oclif/core": "^4",
|
||||||
|
"@oclif/plugin-autocomplete": "^3.2.8",
|
||||||
"@oclif/plugin-help": "^6",
|
"@oclif/plugin-help": "^6",
|
||||||
|
"@oclif/plugin-not-found": "^3.2.25",
|
||||||
"@oclif/plugin-plugins": "^5"
|
"@oclif/plugin-plugins": "^5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -49,15 +51,12 @@
|
|||||||
"dirname": "jj",
|
"dirname": "jj",
|
||||||
"commands": "./dist/commands",
|
"commands": "./dist/commands",
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
"@oclif/plugin-*",
|
||||||
"@oclif/plugin-help",
|
"@oclif/plugin-help",
|
||||||
"@oclif/plugin-plugins"
|
"@oclif/plugin-plugins"
|
||||||
],
|
],
|
||||||
"topicSeparator": " ",
|
"topicSeparator": " ",
|
||||||
"topics": {
|
"topics": {}
|
||||||
"hello": {
|
|
||||||
"description": "Say hello to the world and others"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/jafarijason/jj/jj",
|
"repository": "https://github.com/jafarijason/jj/jj",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -67,7 +66,8 @@
|
|||||||
"posttest": "yarn lint",
|
"posttest": "yarn lint",
|
||||||
"prepack": "oclif manifest && oclif readme",
|
"prepack": "oclif manifest && oclif readme",
|
||||||
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
||||||
"version": "oclif readme && git add README.md"
|
"version": "oclif readme && git add README.md",
|
||||||
|
"pre-publish": "yarn build && yarn prepack && yarn prepack && git add . && yarn version && git push --follow-tags"
|
||||||
},
|
},
|
||||||
"types": "dist/index.d.ts"
|
"types": "dist/index.d.ts"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user