public function update( $args, $assoc_args ) {
		list( $id, $domain ) = $args;

		$defaults   = array(
			'path' => '',
		);
		$assoc_args = wp_parse_args( $assoc_args, $defaults );

		$network_id = update_network( $id, $domain, $assoc_args['path'] );

		if ( is_wp_error( $network_id ) ) {
			WP_CLI::error( $network_id );
		}

		WP_CLI::success( sprintf( 'Updated network %d.', $id ) );
	}
public function update( $args, $assoc_args ) {
		list( $id, $domain ) = $args;

		$defaults   = array(
			'path' => '',
		);
		$assoc_args = wp_parse_args( $assoc_args, $defaults );

		$network_id = update_network( $id, $domain, $assoc_args['path'] );

		if ( is_wp_error( $network_id ) ) {
			WP_CLI::error( $network_id );
		}

		WP_CLI::success( sprintf( 'Updated network %d.', $id ) );
	}
public function update ( $ args , $ assoc_args ) { list ( $ id , $ domain ) = $ args ; $ defaults = array ( 'path' => '' , ) ; $ assoc_args = wp_parse_args ( $ assoc_args , $ defaults ) ; $ network_id = update_network ( $ id , $ domain , $ assoc_args [ 'path' ] ) ; if ( is_wp_error ( $ network_id ) ) { WP_CLI :: error ( $ network_id ) ; } WP_CLI :: success ( sprintf ( 'Updated network %d.' , $ id ) ) ; }
Update a network.

<id>
: ID for network

<domain>
: Domain for network

[--path=<path>]
: Path for network

@since 1.3.0

@param array $args       Positional CLI arguments.
@param array $assoc_args Associative CLI arguments.
Update a network .