Slack\Command\NotifierCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('notify')->setDescription('send a simple message to Slack')->addOption('team', null, InputOption::VALUE_REQUIRED, 'Your slack team/organization name', null)->addOption('token', null, InputOption::VALUE_REQUIRED, 'Your slack auth token', null)->addOption('emoji', null, InputOption::VALUE_OPTIONAL, 'icon_emoji used in Slack')->addOption('username', null, InputOption::VALUE_REQUIRED, 'username used in Slack', 'slack-notifier')->addArgument('channel', InputArgument::REQUIRED, 'your message will be posted on this channel')->addArgument('message', InputArgument::REQUIRED, 'message that will be posted');
    }
NotifierCommand