classes/cli/PodsAPI_CLI_Command.php
public function reset_pod( $args, $assoc_args ) {

		$api = pods_api();

		$reset = false;

		try {
			$pod = $api->load_pod( $assoc_args['name'] );

			if ( ! $pod ) {
				WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['name'] ) );
			}

			$reset = $api->reset_pod( $assoc_args );
		} catch ( Exception $e ) {
			WP_CLI::error( sprintf( __( 'Error resetting pod: %s', 'pods' ), $e->getMessage() ) );
		}

		if ( $reset ) {
			WP_CLI::success( __( 'Pod content reset.', 'pods' ) );
		} else {
			WP_CLI::error( __( 'Pod content not reset.', 'pods' ) );
		}

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

		$api = pods_api();

		$reset = false;

		try {
			$pod = $api->load_pod( $assoc_args['name'] );

			if ( ! $pod ) {
				WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['name'] ) );
			}

			$reset = $api->reset_pod( $assoc_args );
		} catch ( Exception $e ) {
			WP_CLI::error( sprintf( __( 'Error resetting pod: %s', 'pods' ), $e->getMessage() ) );
		}

		if ( $reset ) {
			WP_CLI::success( __( 'Pod content reset.', 'pods' ) );
		} else {
			WP_CLI::error( __( 'Pod content not reset.', 'pods' ) );
		}

	}
public function reset_pod ( $ args , $ assoc_args ) { $ api = pods_api ( ) ; $ reset = false ; try { $ pod = $ api -> load_pod ( $ assoc_args [ 'name' ] ) ; if ( ! $ pod ) { WP_CLI :: error ( sprintf ( __ ( 'Pod "%s" does not exist.' , 'pods' ) , $ assoc_args [ 'name' ] ) ) ; } $ reset = $ api -> reset_pod ( $ assoc_args ) ; } catch ( Exception $ e ) { WP_CLI :: error ( sprintf ( __ ( 'Error resetting pod: %s' , 'pods' ) , $ e -> getMessage ( ) ) ) ; } if ( $ reset ) { WP_CLI :: success ( __ ( 'Pod content reset.' , 'pods' ) ) ; } else { WP_CLI :: error ( __ ( 'Pod content not reset.' , 'pods' ) ) ; } }
Reset a pod which will delete all pod items.

## OPTIONS

--name=<name>
: The pod name.

## EXAMPLES

wp pods-api reset-pod --name=book

@subcommand reset-pod

@param $args
@param $assoc_args
Reset a pod which will delete all pod items .