ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Setup\CLI\BuildArtifactsCommand Class Reference

Installation command. More...

+ Inheritance diagram for ILIAS\Setup\CLI\BuildArtifactsCommand:
+ Collaboration diagram for ILIAS\Setup\CLI\BuildArtifactsCommand:

Public Member Functions

 configure ()
 
- Public Member Functions inherited from ILIAS\Setup\CLI\BaseCommand
 __construct (callable $lazy_agent, ConfigReader $config_reader, array $preconditions)
 
 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 

Protected Member Functions

 printIntroMessage (IOWrapper $io)
 
 printOutroMessage (IOWrapper $io)
 
 readAgentConfig (Agent $agent, InputInterface $input)
 
 buildEnvironment (Agent $agent, ?Config $config, IOWrapper $io)
 
 getObjective (Agent $agent, ?Config $config)
 
- Protected Member Functions inherited from ILIAS\Setup\CLI\BaseCommand
 getAgent ()
 
 shouldSayYes (InputInterface $input)
 
 printLicenseMessage (IOWrapper $io, InputInterface $input)
 
 printIntroMessage (IOWrapper $io)
 
 printOutroMessage (IOWrapper $io)
 
 readAgentConfig (Agent $agent, InputInterface $input)
 
 buildEnvironment (Agent $agent, ?Config $config, IOWrapper $io)
 
 getObjective (Agent $agent, ?Config $config)
 

Static Protected Attributes

static $defaultName = "build-artifacts"
 
- Static Protected Attributes inherited from ILIAS\Setup\CLI\BaseCommand
static $defaultName = "install"
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\Setup\CLI\BaseCommand
 $lazy_agent
 
 $agent
 
 $config_reader
 
 $preconditions
 var Objective[] More...
 

Detailed Description

Installation command.

Definition at line 17 of file BuildArtifactsCommand.php.

Member Function Documentation

◆ buildEnvironment()

ILIAS\Setup\CLI\BuildArtifactsCommand::buildEnvironment ( Agent  $agent,
?Config  $config,
IOWrapper  $io 
)
protected

Definition at line 43 of file BuildArtifactsCommand.php.

44  {
45  return new ArrayEnvironment([]);
46  }

◆ configure()

ILIAS\Setup\CLI\BuildArtifactsCommand::configure ( )

Definition at line 21 of file BuildArtifactsCommand.php.

22  {
23  $this
24  ->setDescription("Build static artifacts from source")
25  ->addOption("yes", "y", InputOption::VALUE_NONE, "Confirm every message of the setup.");
26  }

◆ getObjective()

ILIAS\Setup\CLI\BuildArtifactsCommand::getObjective ( Agent  $agent,
?Config  $config 
)
protected

Definition at line 48 of file BuildArtifactsCommand.php.

References ILIAS\Setup\Agent\getBuildArtifactObjective().

48  : Objective
49  {
50  return $agent->getBuildArtifactObjective();
51  }
+ Here is the call graph for this function:

◆ printIntroMessage()

ILIAS\Setup\CLI\BuildArtifactsCommand::printIntroMessage ( IOWrapper  $io)
protected

Definition at line 28 of file BuildArtifactsCommand.php.

References ILIAS\Setup\CLI\IOWrapper\title().

29  {
30  $io->title("Building static artifacts");
31  }
+ Here is the call graph for this function:

◆ printOutroMessage()

ILIAS\Setup\CLI\BuildArtifactsCommand::printOutroMessage ( IOWrapper  $io)
protected

Definition at line 33 of file BuildArtifactsCommand.php.

References ILIAS\Setup\CLI\IOWrapper\success().

34  {
35  $io->success("All static artifacts are build!");
36  }
+ Here is the call graph for this function:

◆ readAgentConfig()

ILIAS\Setup\CLI\BuildArtifactsCommand::readAgentConfig ( Agent  $agent,
InputInterface  $input 
)
protected

Definition at line 38 of file BuildArtifactsCommand.php.

38  : ?Config
39  {
40  return null;
41  }

Field Documentation

◆ $defaultName

ILIAS\Setup\CLI\BuildArtifactsCommand::$defaultName = "build-artifacts"
staticprotected

Definition at line 19 of file BuildArtifactsCommand.php.


The documentation for this class was generated from the following file: