11use Symfony\Component\Console\Input\InputInterface;
12use Symfony\Component\Console\Input\InputOption;
24 ->setDescription(
"Build static artifacts from source")
25 ->addOption(
"yes",
"y", InputOption::VALUE_NONE,
"Confirm every message of the setup.");
30 $io->
title(
"Building static artifacts");
35 $io->
success(
"All static artifacts are build!");
50 return $agent->getBuildArtifactObjective();
An exception for terminatinating execution or to throw for unit testing.
printOutroMessage(IOWrapper $io)
readAgentConfig(Agent $agent, InputInterface $input)
buildEnvironment(Agent $agent, ?Config $config, IOWrapper $io)
printIntroMessage(IOWrapper $io)
getObjective(Agent $agent, ?Config $config)
Wrapper around symfonies input and output facilities to provide just the functionality required for t...
A agent is some component that performs part of the setup process.
A configuration for the setup.
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.