public function updates( $args, $assoc_args ) {

    require_once dirname( __FILE__ ) . '/../modules/updates.php';
    $site_info = Seravo\Updates::seravo_admin_get_site_info();

    if ( $site_info['seravo_updates'] === true ) {
      WP_CLI::success( 'Seravo Updates: enabled' );
    } elseif ( $site_info['seravo_updates'] === true ) {
      WP_CLI::success('Seravo Updates: disabled' );
    } else {
      WP_CLI::error( 'Seravo API failed to return information about updates.' );
    }

  }
public function updates( $args, $assoc_args ) {

    require_once dirname( __FILE__ ) . '/../modules/updates.php';
    $site_info = Seravo\Updates::seravo_admin_get_site_info();

    if ( $site_info['seravo_updates'] === true ) {
      WP_CLI::success( 'Seravo Updates: enabled' );
    } elseif ( $site_info['seravo_updates'] === true ) {
      WP_CLI::success('Seravo Updates: disabled' );
    } else {
      WP_CLI::error( 'Seravo API failed to return information about updates.' );
    }

  }
public function updates ( $ args , $ assoc_args ) { require_once dirname ( __FILE__ ) . '/../modules/updates.php' ; $ site_info = Seravo \ Updates :: seravo_admin_get_site_info ( ) ; if ( $ site_info [ 'seravo_updates' ] === true ) { WP_CLI :: success ( 'Seravo Updates: enabled' ) ; } elseif ( $ site_info [ 'seravo_updates' ] === true ) { WP_CLI :: success ( 'Seravo Updates: disabled' ) ; } else { WP_CLI :: error ( 'Seravo API failed to return information about updates.' ) ; } }
Seravo wp-cli functions.

## OPTIONS

No options.

## EXAMPLES

wp seravo updates
Seravo wp - cli functions .