Example #1
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('config')->setDescription('Get and set working copy or global settings')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('show', 's', InputOption::VALUE_REQUIRED, 'Show setting value')->addOption('edit', 'e', InputOption::VALUE_REQUIRED, 'Change setting value in Interactive Editor')->addOption('delete', 'd', InputOption::VALUE_REQUIRED, 'Delete setting')->addOption('global', 'g', InputOption::VALUE_NONE, 'Operate on global instead of working copy-specific settings');
        parent::configure();
    }
Example #2
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('merge')->setDescription('Applies the change from another source to a working copy path')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('source-url', null, InputOption::VALUE_REQUIRED, 'Source url')->addOption('revisions', 'r', InputOption::VALUE_REQUIRED, 'Revisions to merge (e.g. "53324,34342,1224-4433,232" or "all" to merge all)')->addOption('bugs', 'b', InputOption::VALUE_REQUIRED, 'Bugs to merge (e.g. "JRA-1234,43644")')->addOption('details', 'd', InputOption::VALUE_NONE, 'Shows path affected in each revision');
        parent::configure();
    }
Example #3
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('resolve')->setDescription('Interactively resolves working copy conflicts')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.');
        parent::configure();
    }
Example #4
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('revert')->setDescription('Restore pristine working copy file (undo most local edits)')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.');
        parent::configure();
    }
Example #5
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('aggregate')->setDescription('Runs other command sequentially on every working copy on a path')->setHelp($description)->addArgument('sub-command', InputArgument::REQUIRED, 'Command to execute on each found working copy')->addArgument('path', InputArgument::OPTIONAL, 'Path to folder with working copies', '.')->addOption('details', 'd', InputOption::VALUE_NONE, 'Shows path affected in each revision')->addOption('ignore-add', null, InputOption::VALUE_REQUIRED, 'Adds path to ignored directory list')->addOption('ignore-remove', null, InputOption::VALUE_REQUIRED, 'Removes path to ignored directory list')->addOption('ignore-show', null, InputOption::VALUE_NONE, 'Show ignored directory list');
        parent::configure();
    }
Example #6
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('update')->setDescription('Bring changes from the repository into the working copy.')->setHelp($description)->setAliases(array('up'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.');
        parent::configure();
    }
Example #7
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('commit')->setDescription('Sends changes to repository')->setHelp($description)->setAliases(array('ci'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.');
        parent::configure();
    }
Example #8
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('cleanup')->setDescription('Recursively clean up the working copy, removing locks, resuming unfinished operations, etc.')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.');
        parent::configure();
    }
Example #9
0
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $this->pathAcceptsUrl = true;
        $description = <<<TEXT
TODO
TEXT;
        $this->setName('log')->setDescription('Show the log messages for revisions/bugs/path')->setHelp($description)->addArgument('path', InputArgument::OPTIONAL, 'Working copy path or URL', '.')->addOption('revisions', 'r', InputOption::VALUE_REQUIRED, 'Revision or revision range (e.g. "53324,34342,1224-4433,232")')->addOption('bugs', 'b', InputOption::VALUE_REQUIRED, 'Bugs to merge (e.g. "JRA-1234,43644")')->addOption('details', 'd', InputOption::VALUE_NONE, 'Shows path affected in each revision')->addOption('merge-oracle', null, InputOption::VALUE_NONE, 'Detects commits with possible merge conflicts')->addOption('limit', null, InputOption::VALUE_REQUIRED, 'Maximum number of log entries');
        parent::configure();
    }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('dev:phar-create')->setDescription('Creates PHAR for new release')->addOption('build-dir', null, InputOption::VALUE_REQUIRED, 'Directory, where build results would be stored', 'build')->addOption('stability', 's', InputOption::VALUE_REQUIRED, 'Stability of the build (<comment>stable</comment>, <comment>snapshot</comment>, <comment>preview</comment>)');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('config')->setDescription('Change configuration settings, that are used by other commands')->setAliases(array('cfg'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('show', 's', InputOption::VALUE_REQUIRED, 'Shows only given (instead of all) setting value')->addOption('edit', 'e', InputOption::VALUE_REQUIRED, 'Change setting value in the Interactive Editor')->addOption('delete', 'd', InputOption::VALUE_REQUIRED, 'Delete setting')->addOption('global', 'g', InputOption::VALUE_NONE, 'Operate on global instead of working copy-specific settings');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('commit')->setDescription('Send changes from your working copy to the repository')->setAliases(array('ci'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('cl', null, InputOption::VALUE_NONE, 'Operate only on members of selected changelist')->addOption('merge-template', null, InputOption::VALUE_REQUIRED, 'Use alternative merge template for this commit');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('update')->setDescription('Bring changes from the repository into the working copy')->setAliases(array('up'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('revision', 'r', InputOption::VALUE_REQUIRED, 'Update working copy to specified revision, e.g. <comment>NUMBER</comment>, <comment>{DATE}</comment>, <comment>HEAD</comment>, <comment>BASE</comment>, <comment>COMMITTED</comment>, <comment>PREV</comment>')->addOption('ignore-externals', null, InputOption::VALUE_NONE, 'Ignore externals definitions');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('self-update')->setDescription('Update application to most recent version')->addOption('rollback', 'r', InputOption::VALUE_NONE, 'Revert to an older version of the application')->addOption('stable', null, InputOption::VALUE_NONE, 'Force an update to the stable channel')->addOption('snapshot', null, InputOption::VALUE_NONE, 'Force an update to the snapshot channel')->addOption('preview', null, InputOption::VALUE_NONE, 'Force an update to the preview channel');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('merge')->setDescription('Merge changes from another project or ref within same project into a working copy')->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('source-url', null, InputOption::VALUE_REQUIRED, 'Merge source url (absolute or relative) or ref name, e.g. <comment>branches/branch-name</comment>')->addOption('revisions', 'r', InputOption::VALUE_REQUIRED, 'List of revision(-s) and/or revision range(-s) to merge, e.g. <comment>53324</comment>, <comment>1224-4433</comment> or <comment>all</comment>')->addOption('bugs', 'b', InputOption::VALUE_REQUIRED, 'List of bug(-s) to merge, e.g. <comment>JRA-1234</comment>, <comment>43644</comment>')->addOption('with-full-message', 'f', InputOption::VALUE_NONE, 'Shows non-truncated commit messages')->addOption('with-details', 'd', InputOption::VALUE_NONE, 'Shows detailed revision information, e.g. paths affected')->addOption('with-summary', 's', InputOption::VALUE_NONE, 'Shows number of added/changed/removed paths in the revision')->addOption('update-revision', null, InputOption::VALUE_REQUIRED, 'Update working copy to given revision before performing a merge')->addOption('auto-commit', null, InputOption::VALUE_REQUIRED, 'Automatically perform commit on successful merge, e.g. <comment>yes</comment> or <comment>no</comment>')->addOption('record-only', null, InputOption::VALUE_NONE, 'Mark revisions as merged without actually merging them');
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $mode_string = '<comment>' . implode('</comment>, <comment>', $this->getModes()) . '</comment>';
     $this->setName('conflicts')->setDescription('Manage recorded conflicts in a working copy')->setAliases(array('cf'))->addArgument('path', InputArgument::OPTIONAL, 'Working copy path', '.')->addOption('mode', 'm', InputOption::VALUE_REQUIRED, 'Operation mode, e.g. ' . $mode_string, self::MODE_SHOW);
     parent::configure();
 }
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('dev:migration-create')->setDescription('Creates new database migration')->addArgument('name', InputArgument::REQUIRED, 'Migration name')->addOption('extension', 'e', InputOption::VALUE_REQUIRED, 'Migration file extension', 'sql');
     parent::configure();
 }
Example #18
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->pathAcceptsUrl = true;
     $this->setName('log')->setDescription('Show the log messages for a set of revisions, bugs, paths, refs, etc.')->addArgument('path', InputArgument::OPTIONAL, 'Working copy path or URL', '.')->addOption('revisions', 'r', InputOption::VALUE_REQUIRED, 'List of revision(-s) and/or revision range(-s), e.g. <comment>53324</comment>, <comment>1224-4433</comment>')->addOption('bugs', 'b', InputOption::VALUE_REQUIRED, 'List of bug(-s), e.g. <comment>JRA-1234</comment>, <comment>43644</comment>')->addOption('refs', null, InputOption::VALUE_REQUIRED, 'List of refs, e.g. <comment>trunk</comment>, <comment>branches/branch-name</comment>, <comment>tags/tag-name</comment> or <comment>all</comment> for all refs')->addOption('merges', null, InputOption::VALUE_NONE, 'Show merge revisions only')->addOption('no-merges', null, InputOption::VALUE_NONE, 'Hide merge revisions')->addOption('merged', null, InputOption::VALUE_NONE, 'Shows only revisions, that were merged at least once')->addOption('not-merged', null, InputOption::VALUE_NONE, 'Shows only revisions, that were not merged')->addOption('merged-by', null, InputOption::VALUE_REQUIRED, 'Show revisions merged by list of revision(-s) and/or revision range(-s)')->addOption('action', null, InputOption::VALUE_REQUIRED, 'Show revisions, whose paths were affected by specified action, e.g. <comment>A</comment>, <comment>M</comment>, <comment>R</comment>, <comment>D</comment>')->addOption('kind', null, InputOption::VALUE_REQUIRED, 'Show revisions, whose paths match specified kind, e.g. <comment>dir</comment> or <comment>file</comment>')->addOption('with-full-message', 'f', InputOption::VALUE_NONE, 'Shows non-truncated commit messages')->addOption('with-details', 'd', InputOption::VALUE_NONE, 'Shows detailed revision information, e.g. paths affected')->addOption('with-summary', 's', InputOption::VALUE_NONE, 'Shows number of added/changed/removed paths in the revision')->addOption('with-refs', null, InputOption::VALUE_NONE, 'Shows revision refs')->addOption('with-merge-oracle', null, InputOption::VALUE_NONE, 'Shows number of paths in the revision, that can cause conflict upon merging')->addOption('with-merge-status', null, InputOption::VALUE_NONE, 'Shows merge revisions affecting this revision')->addOption('max-count', null, InputOption::VALUE_REQUIRED, 'Limit the number of revisions to output');
     parent::configure();
 }