module.exports = {
  name: 'deploy',
  description: 'Deploys an ember-cli app',
  works: 'insideProject',

  anonymousOptions: [
    '<deployTarget>'
  ],

  availableOptions: [
    { name: 'deploy-config-file', type: String, default: 'config/deploy.js' },
    { name: 'activate', type: Boolean }
  ],

  run: function(commandOptions, rawArgs) {
    commandOptions.deployTarget = rawArgs.shift();
    process.env.DEPLOY_TARGET = commandOptions.deployTarget;

    var DeployTask = require('../tasks/deploy');
    var deploy = new DeployTask({
      project: this.project,
      ui: this.ui,
      deployTarget: commandOptions.deployTarget,
      deployConfigFile: commandOptions.deployConfigFile,
      commandOptions: this.commandOptions
    });

    return deploy.run();

  },

};

@@ -711,21 +711,16 @@
 ptions: 
-this.
 commandO

Correct typo; commandOptions are a local var