oik-batch

batch drive WordPress from a Command Line Interface.

oik-batch createapi $plugin $apikey
foo() {} bar() {}
baz() {} qux() {}
…  

 


wp-admin/admin-ajax.php action=createapi plugin=$plugin file=$file api=$api apikey=$apikey
do_action( "wp_ajax_ nopriv_ $action" );
2 foo() plugin 1
3 bar() plugin 1
4 baz() plugin 1
5 qux() plugin 1
…  

  See also: WP-CLI – WordPress Command Line Interface   wpremote