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