src/Cli/Command.php
/** Executes the current command, and returns the exit code. */
Executes the current command, and returns the exit code.
Executes the current command and returns the exit code .
protected function execute(InputInterface $input, OutputInterface $output): int {
		$target = $input->getArgument("target");
		open($target, [
			"application" => $input->getOption("application") ?? "",
			"arguments" => $input->getArgument("arguments"),
			"background" => $input->getOption("background"),
			"wait" => $input->getOption("wait")
		]);
		return 0;
	}
protected function execute ( InputInterface $ input , OutputInterface $ output ) : int { $ target = $ input -> getArgument ( " target " ) ; open ( $ target , [ " application " => $ input -> getOption ( " application " ) ?? " " , " arguments " => $ input -> getArgument ( " arguments " ) , " background " => $ input -> getOption ( " background " ) , " wait " => $ input -> getOption ( " wait " ) ] ) ; return 0 ; }
Executes the current command, and returns the exit code.
Executes the current command and returns the exit code .
/** @var string $target */