Exemplo n.º 1
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:cities')->setDescription('Attempts to assicate a ReservIT ID to the cities')->setHelp(<<<HELP
  <info>php app/console seh:cities</info>
HELP
);
    }
Exemplo n.º 2
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:import:translation-lot-6')->setDescription('Import translations lot 6')->setHelp(<<<HELP
The <info>seh:import:translation-lot-6/info> command import translations lot 6.

  <info>php app/console seh:import:translation-lot-6</info>
HELP
);
    }
Exemplo n.º 3
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:import:cities')->setDescription('Import cities')->setHelp(<<<HELP
The <info>seh:import:cities</info> command import cities.

  <info>php app/console seh:import:cities</info>
HELP
);
    }
Exemplo n.º 4
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:export:country')->setDescription('Export countries')->setHelp(<<<HELP
The <info>seh:export:country/info> command export countries.

  <info>php app/console seh:export:country</info>
HELP
);
    }
Exemplo n.º 5
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:slug:department')->setDescription('Updates department slugs based on the department name')->setHelp(<<<HELP
The <info>seh:slug:department</info> command updates department slugs based on the department name

  <info>php app/console seh:slug:department</info>
HELP
);
    }
Exemplo n.º 6
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:export:labels')->setDescription('Export labels')->setHelp(<<<HELP
The <info>seh:export:label/info> command export labels.

  <info>php app/console seh:export:label</info>
HELP
)->addArgument('offset', InputArgument::OPTIONAL, 'LOL')->addOption('only-trads', 't', InputOption::VALUE_OPTIONAL, 'HIHI', false);
    }
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:import:hotels-cities-two-hours')->setDescription('Import hotels cities two hours')->setHelp(<<<HELP
The <info>seh:import:hotels-cities-two-hours/info> command import hotels cities two hours.

  <info>php app/console seh:import:hotels-cities-two-hours</info>
HELP
);
    }
Exemplo n.º 8
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:cleanup:cities')->setDescription('Cleans up cities')->setHelp(<<<HELP
The <info>seh:cleanup:cities</info> command cleanup cities

  <info>php app/console seh:cleanup:cities</info>
HELP
);
    }
Exemplo n.º 9
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:slughotel:csvupdate')->setDescription('Update slug field based on a csv')->setHelp(<<<HELP
The <info>seh:slughotel:update/info> command update hotel slug field.

  <info>php app/console seh:slughotel:update</info>
HELP
)->addOption('test', null, InputOption::VALUE_NONE, 'if defined, run command without database update');
    }
Exemplo n.º 10
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:translate:slugs')->setDescription('Updates slugs with their translations for Country, Region, Department entities')->setHelp(<<<HELP
The <info>seh:translate:slugs</info> command updates translatable slugs

  <info>php app/console seh:translate:slugs</info>
HELP
);
    }
Exemplo n.º 11
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:slughotel:update')->setDescription('Updates hotel slugs based on the hotel name')->setHelp(<<<HELP
The <info>seh:slughotel:csvupdate</info> command updates hotel slugs based on the hotel name

  <info>php app/console seh:slughotel:update</info>
HELP
);
    }
Exemplo n.º 12
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:import:offres-speciales')->setDefinition(array(new InputArgument('target', InputArgument::OPTIONAL, 'The CSV file to import', $this->importDir . '/offres/reservit.csv')))->setDescription('Import offres speciales')->setHelp(<<<HELP
The <info>seh:import:offres-speciales</info> command import offres speciales.

  <info>php app/console seh:import:offres-speciales</info>
HELP
);
    }
Exemplo n.º 13
0
    /**
     * Configure
     */
    protected function configure()
    {
        parent::configure();
        $this->setName('seh:display:menu')->setDescription('Activates SEH menu lol')->setHelp(<<<HELP
The <info>seh:display:menu</info> command activates !

  <info>php app/console seh:display:menu</info>
HELP
);
    }