Skip to content

Commit

Permalink
fix: add docs for plugins:install with github
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 1, 2018
1 parent 9085a74 commit 15d00b2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/commands/plugins/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ import cli from 'cli-ux'
import Plugins from '../../plugins'

export default class PluginsInstall extends Command {
static description = 'installs a plugin into the CLI'
static description = `installs a plugin into the CLI
Can be installed from npm or a git url.
`
static usage = 'plugins:install PLUGIN...'
static examples = ['$ <%= config.bin %> plugins:install <%- config.pjson.oclif.examplePlugin || "myplugin" %> ']
static examples = [
'$ <%= config.bin %> plugins:install <%- config.pjson.oclif.examplePlugin || "myplugin" %> ',
'$ <%= config.bin %> plugins:install https://github.com/someuser/someplugin',
'$ <%= config.bin %> plugins:install someuser/someplugin',
]
static strict = false
static args = [{name: 'plugin', description: 'plugin to install', required: true}]
static flags = {
Expand Down

0 comments on commit 15d00b2

Please sign in to comment.