UNPKG

342 BJavaScriptView Raw
1const {Command} = require('heroku-cli-command')
2
3class NoCommand extends Command {
4 async run () {
5 throw new Error(`${this.color.yellow(this.argv[1])} is not a heroku command.
6Perhaps you meant ????
7Run ${this.color.cmd('heroku help')} for a list of available commands.`)
8 }
9}
10
11NoCommand.variableArgs = true
12
13module.exports = NoCommand