Skip to content

Commit

Permalink
fix: enable --json for plugins install (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel authored Nov 10, 2023
1 parent 638825d commit 59785cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/plugins/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.
`

public static enableJsonFlag = true

static examples = [
'$ <%= config.bin %> plugins:install <%- config.pjson.oclif.examplePlugin || "myplugin" %> ',
'$ <%= config.bin %> plugins:install https://github.com/someuser/someplugin',
Expand Down

0 comments on commit 59785cd

Please sign in to comment.