async run() {
        this.errorIfWindows();
        // ex: heroku autocomplete:options 'heroku addons:destroy -a myapp myaddon'
        try {
            const commandStateVars = await this.processCommandLine();
            const completion = this.determineCompletion(commandStateVars);
            const options = await this.fetchOptions(completion);
            if (options)
                this.log(options);
        }
        catch (err) {
            // write to ac log
            this.writeLogFile(err.message);
        }
    }
// options: (string) white-space seperated list of values for the shell to use for completion
(string) white-space seperated list of values for the shell to use for completion
( string ) white - space seperated list of values for the shell to use for completion
async run() {
        this.errorIfWindows();
        try {
            const commandStateVars = await this.processCommandLine();
            const completion = this.determineCompletion(commandStateVars);
            const options = await this.fetchOptions(completion);
            if (options)
                this.log(options);
        }
        catch (err) {
            this.writeLogFile(err.message);
        }
    }
async run ( ) { this . errorIfWindows ( ) ; try { const commandStateVars = await this . processCommandLine ( ) ; const completion = this . determineCompletion ( commandStateVars ) ; const options = await this . fetchOptions ( completion ) ; if ( options ) this . log ( options ) ; } catch ( err ) { this . writeLogFile ( err . message ) ; } }
options: (string) white-space seperated list of values for the shell to use for completion
options : ( string ) white - space seperated list of values for the shell to use for completion
// ex: heroku autocomplete:options 'heroku addons:destroy -a myapp myaddon' // write to ac log