Arkade\S3\Console\Command\ConfigListCommand::execute PHP Method

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->state->setAreaCode('adminhtml');
        $config = $this->configFactory->create();
        $output->writeln('Here are your AWS credentials.');
        $output->writeln('');
        $output->writeln(sprintf('Access Key ID:     %s', $config->getConfigDataValue('arkade_s3/general/access_key')));
        $output->writeln(sprintf('Secret Access Key: %s', $config->getConfigDataValue('arkade_s3/general/secret_key')));
        $output->writeln(sprintf('Bucket:            %s', $config->getConfigDataValue('arkade_s3/general/bucket')));
        $output->writeln(sprintf('Region:            %s', $config->getConfigDataValue('arkade_s3/general/region')));
    }