, hidden: bool} $meta */ public function __construct(array $meta) { parent::__construct($meta['name']); $this->setDescription($meta['description']); $this->setAliases($meta['aliases']); $this->setHidden($meta['hidden']); // The real input definition lives on the Rust side and the raw tokens are forwarded // untouched, so nothing may be validated (or consumed) here. $this->ignoreValidationErrors(); } public function run(InputInterface $input, OutputInterface $output): int { return (int) \ShirabeRpcRuntime::callRust(0, '__shirabe_run_rust_command', [$this->getName(), (string) $input]); } }