WIP
This commit is contained in:
@@ -20,7 +20,7 @@ $ npm install -g jj-command-line
|
||||
$ jj COMMAND
|
||||
running command...
|
||||
$ 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]
|
||||
USAGE
|
||||
$ jj COMMAND
|
||||
@@ -29,6 +29,7 @@ USAGE
|
||||
<!-- usagestop -->
|
||||
# Commands
|
||||
<!-- commands -->
|
||||
* [`jj autocomplete [SHELL]`](#jj-autocomplete-shell)
|
||||
* [`jj help [COMMAND]`](#jj-help-command)
|
||||
* [`jj plugins`](#jj-plugins)
|
||||
* [`jj plugins add PLUGIN`](#jj-plugins-add-plugin)
|
||||
@@ -41,6 +42,37 @@ USAGE
|
||||
* [`jj plugins unlink [PLUGIN]`](#jj-plugins-unlink-plugin)
|
||||
* [`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]`
|
||||
|
||||
Display help for jj.
|
||||
|
||||
+8
-8
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jj-command-line",
|
||||
"description": "jj cli",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"author": "Jason Jafari",
|
||||
"bin": {
|
||||
"jj": "./bin/run.js"
|
||||
@@ -9,7 +9,9 @@
|
||||
"bugs": "https://github.com/https://github.com/jafarijason/jj/jj/issues",
|
||||
"dependencies": {
|
||||
"@oclif/core": "^4",
|
||||
"@oclif/plugin-autocomplete": "^3.2.8",
|
||||
"@oclif/plugin-help": "^6",
|
||||
"@oclif/plugin-not-found": "^3.2.25",
|
||||
"@oclif/plugin-plugins": "^5"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -49,15 +51,12 @@
|
||||
"dirname": "jj",
|
||||
"commands": "./dist/commands",
|
||||
"plugins": [
|
||||
"@oclif/plugin-*",
|
||||
"@oclif/plugin-help",
|
||||
"@oclif/plugin-plugins"
|
||||
],
|
||||
"topicSeparator": " ",
|
||||
"topics": {
|
||||
"hello": {
|
||||
"description": "Say hello to the world and others"
|
||||
}
|
||||
}
|
||||
"topics": {}
|
||||
},
|
||||
"repository": "https://github.com/jafarijason/jj/jj",
|
||||
"scripts": {
|
||||
@@ -67,7 +66,8 @@
|
||||
"posttest": "yarn lint",
|
||||
"prepack": "oclif manifest && oclif readme",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user