Skip to content

Commit 4a376b2

Browse files
committed
Make hello-world work without WP
1 parent c49becf commit 4a376b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/HelloWorldCommand.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class HelloWorldCommand extends WP_CLI_Command {
1616
* $ wp hello-world
1717
* Success: Hello World!
1818
*
19+
* @when before_wp_load
20+
*
1921
* @param array $args Indexed array of positional arguments.
2022
* @param array $assoc_args Associative array of associative arguments.
2123
*/

0 commit comments

Comments
 (0)