Skip to content

Commit

Permalink
Adding Aliases for Generate Commands. (#3431)
Browse files Browse the repository at this point in the history
  • Loading branch information
acidaniel authored and jmolivas committed Jul 13, 2017
1 parent 24c79aa commit dc4e150
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Command/Generate/BreakPointCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.breakpoint.options.breakpoints')
);
)->setAliases(['gb']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/CacheContextCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,
$this->trans('commands.common.options.services')
);
)->setAliases(['gcc']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/CommandCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function configure()
InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,
$this->trans('commands.common.options.services')
)
->setAliases(['gcm']);
->setAliases(['gco']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/ControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function configure()
InputOption::VALUE_NONE,
$this->trans('commands.generate.controller.options.test')
)
->setAliases(['gcn']);
->setAliases(['gcon']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/EntityConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function configure()
InputOption::VALUE_NONE,
$this->trans('commands.generate.entity.config.options.bundle-of')
)
->setAliases(['gecg']);
->setAliases(['gec']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/EntityContentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function configure()
InputOption::VALUE_NONE,
$this->trans('commands.generate.entity.content.options.revisionable')
)
->setAliases(['gect']);
->setAliases(['geco']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/FormCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.form.options.menu-link-desc')
);
)->setAliases(['gf']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/HelpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.module.options.description')
);
)->setAliases(['gh']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/ModuleFileCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function configure()
null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.common.options.module')
);
)->setAliases(['gmf']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginCKEditorButtonCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function configure()
null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.generate.plugin.ckeditorbutton.options.button-icon-path')
);
)->setAliases(['gpc']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginConditionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function configure()
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.plugin.condition.options.context-definition-required')
)
->setAliases(['gpc']);
->setAliases(['gpco']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginMailCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,
$this->trans('commands.common.options.services')
);
)->setAliases(['gpm']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginMigrateProcessCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.plugin.migrate.process.options.plugin-id')
);
)->setAliases(['gpmp']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginMigrateSourceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,
$this->trans('commands.generate.plugin.migrate.source.options.fields')
);
)->setAliases(['gpms']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PluginSkeletonCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL| InputOption::VALUE_IS_ARRAY,
$this->trans('commands.common.options.services')
);
)->setAliases(['gps']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/PostUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function configure()
null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.generate.post.update.options.post-update-name')
);
)->setAliases(['gpu']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/ProfileCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.profile.options.distribution')
);
)->setAliases(['gpr']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/RouteSubscriberCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function configure()
null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.generate.routesubscriber.options.class')
);
)->setAliases(['gr']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/TwigExtensionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function configure()
null,
InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,
$this->trans('commands.common.options.services')
);
)->setAliases(['gte']);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Generate/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function configure()
null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.generate.update.options.update-n')
);
)->setAliases(['gu']);
}

/**
Expand Down

0 comments on commit dc4e150

Please sign in to comment.