/**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption("limit", "l", InputOption::VALUE_REQUIRED, "The number of activity items you want returned.");
     $this->addOption("offset", "o", InputOption::VALUE_REQUIRED, "Index of the first activity item you want, starting from zero.");
     $this->addOption("occurred_before", "ob", InputOption::VALUE_REQUIRED, "Activity will be returned only for operations that occurred before the time specified by this parameter.");
     $this->addOption("occurred_after", "oa", InputOption::VALUE_REQUIRED, "Activity will be returned only for operations that occurred after the time specified by this parameter.");
     $this->addOption("sort_order", "so", InputOption::VALUE_REQUIRED, "The order to return the activity. Defaults to descending. Valid enumeration values: asc, desc");
 }
コード例 #2
0
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::execute() with_label string in the request query.
  *      — A label name which all returned stories must match.
  *
  *      with_story_type enumerated string in the request query.
  *      — A story's type which all returned stories must match.
  *      Valid enumeration values: feature, bug, chore, release
  *
  *      with_state enumerated string in the request query.
  *      — A story's current_state which all returned stories must match.
  *      Valid enumeration values: accepted, delivered, finished, started, rejected, planned, unstarted, unscheduled
  *
  *      after_story_id int in the request query.
  *      — Filters results to stories that are after the given story id
  *
  *      before_story_id int in the request query.
  *      — Filters results to stories that are before the given story id
  *
  *      accepted_before datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are accepted before.
  *
  *      accepted_after datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are accepted after.
  *
  *      created_before datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are created before.
  *
  *      created_after datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are created after.
  *
  *      updated_before datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are updated before.
  *
  *      updated_after datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) which all returned stories are updated after.
  *
  *      deadline_before datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) that release dates fall before.
  *
  *      deadline_after datetime in the request query.
  *      — A date and time (ISO 8601 format or milliseconds) that release dates fall after.
  *
  *      limit int in the request query.
  *      — The number of stories you want returned.
  *
  *      offset int in the request query.
  *      — With the first story in your priority list as 0, the index of the first story you want returned.
  *
  *      filter string in the request query.
  *      — This parameter supplies a search string; only stories that match the search criteria are returned. Cannot be used together with any
  *      other parameters. How can a search be refined?
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
 }
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->getDefinition()->addOptions($this->getOptions());
 }
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption("account_id", "aid", InputOption::VALUE_REQUIRED, "ITCloud Pivotal Tracker API v5 Account ID.");
     $this->addOption("with_permission", "wp", InputOption::VALUE_REQUIRED, "ITCloud Pivotal Tracker API v5 find accounts where you have the specified permission:none, project_creation, time_keeping, time_entering, administration");
 }
コード例 #5
0
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::execute()
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->addOption("project_ids", "pid", InputOption::VALUE_OPTIONAL, "ITCloud Pivotal Tracker API v5. (int) The ID of the project.");
 }
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::execute()
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->addOption("project_ids", "pids", InputOption::VALUE_REQUIRED, "ITCloud Pivotal Tracker API v5. Comma seperated (int)s The IDs of the project.");
 }
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::configure()
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption("account_id", "aid", InputOption::VALUE_REQUIRED, "ITCloud Pivotal Tracker API v5 Account ID.");
 }