You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

68 lines
1.2 KiB

<?php
/**
* Manage EasyEngine sites.
*
* ## EXAMPLES
*
* ee site create my_domain
*
* ee site delete my_domain
*/
class Site_Command extends EE_CLI_Command {
/**
* Remove a value from the object cache.
*
* <sitename>
* : Cache key.
*[--files]
* : Webroot
* [--db=<some_value>]
* : Method for grouping data within the cache which allows the same key to be used across groups.
*/
public function delete( $args, $assoc_args ) {
EE_CLI::success( 'Object deleted.' );
}
/**
* Display site information domain name.
*
* <sitename>
* : Site domain name.
*/
public function info( $args, $assoc_args ) {
EE_CLI::success( 'Object information.' );
}
/**
* Enable site with domain name.
*
* <sitename>
* : Site domain name.
*/
public function enable( $args, $assoc_args ) {
EE_CLI::success( 'Object enabled.' );
}
/**
* Disable site with domain name.
*
* <sitename>
* : Site domain name.
*/
public function disable( $args, $assoc_args ) {
EE_CLI::success( 'Object disabled.' );
}
/**
* Disable site with domain name.
*/
public function list_sites( $args, $assoc_args ) {
EE_CLI::success( 'Object listed.' );
}
}
EE_CLI::add_command( 'site', 'Site_Command' );