Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Runner::get_generate_command_synopsis( $create_synopsis )


Source Source

File: libraries/lifterlms-cli/src/Commands/Restful/Runner.php

	private static function get_generate_command_synopsis( $create_synopsis ) {

		$generate_synopsis = array(
			array(
				'name'        => 'count',
				'type'        => 'assoc',
				'description' => 'Number of items to generate.',
				'optional'    => true,
				'default'     => 10,
			),
			array(
				'name'        => 'format',
				'type'        => 'assoc',
				'description' => 'Render generation in specific format.',
				'optional'    => true,
				'default'     => 'progress',
				'options'     => array(
					'progress',
					'ids',
				),
			),
		);

		return array_merge( $generate_synopsis, $create_synopsis );

	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.