How to use @oclif/plugin-help - 10 common examples

To help you get started, we’ve selected a few @oclif/plugin-help examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oclif / command / src / main.ts View on Github external
protected _help() {
    const HHelp: typeof Help = require('@oclif/plugin-help').default
    const help = new HHelp(this.config)
    help.showHelp(this.argv)
    return this.exit(0)
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / namespace / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:namespace', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / property / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:property', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / package / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:package', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / trigger / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:trigger', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / rule / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:rule', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / route / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:route', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / action / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:action', '--help'])
  }
}
github adobe / aio-cli-plugin-runtime / src / commands / runtime / activation / index.js View on Github external
async run () {
    const help = new HHelp(this.config)
    help.showHelp(['runtime:activation', '--help'])
  }
}

@oclif/plugin-help

Standard help for oclif.

MIT
Latest version published 5 days ago

Package Health Score

86 / 100
Full package analysis

Popular @oclif/plugin-help functions