cli_init action-hookWP-CLI 1.0

Usage

add_action( 'cli_init', 'wp_kama_cli_init_action' );

/**
 * Function for `cli_init` action-hook.
 * 
 * @return void
 */
function wp_kama_cli_init_action(){

	// action...
}

Where the hook is called

Runner::setup_bootstrap_hooks()
cli_init
wp-cli/php/WP_CLI/Runner.php 1694
do_action( 'cli_init' );

Where the hook is used in WP CLI

Usage not found.