Skip to content

Commit

Permalink
Add dependency commands back to CLI
Browse files Browse the repository at this point in the history
In d6fb898 we removed old migration commands, and accidentally
removed some commands we want to keep. This commit adds those
commands back to the CLI.
  • Loading branch information
snim2 committed Sep 21, 2023
1 parent 2d30c34 commit 405be2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Whippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public function commands()
$this->command('init [PATH]', 'Creates a new Whippet application at PATH. NB: this is a shortcut for whippet generate -d PATH whippet.', function ($option_parser) {
$option_parser->addRule('r|repository::', 'Override the default application.json WordPress repository with this one');
});
$this->command('dependencies SUBCOMMAND', 'Manage dependencies (themes, plugins)');
$this->command('deps SUBCOMMAND', 'Alias for dependencies');
}

public function plugins($plugin_command)
Expand Down

0 comments on commit 405be2d

Please sign in to comment.