Introducing Toolset CLI
We’re happy to announce the release of WP-CLI commands for Toolset. You can use Toolset CLI to perform various Toolset-related tasks right from the command interface.
If you’re a fan of WP-CLI and command-line interface in general, Toolset CLI is for you.
Toolset CLI currently features three top-level commands:
- wp toolset – post relationship commands
- wp types – general Types commands
- wp views – commands for Views, templates, and archives
You can find documentation and usage examples of all commands on the Toolset CLI repo.
Support and collaboration
We created Toolset CLI for our own internal needs and the Toolset development and QA teams use it on a daily basis.
It’s a tool by developers, for developers which is why we chose to publish it on GitHub. If you encounter any issues (including documentation) or have pull requests, simply use the GitHub repo.
This repo is active and fully supported.
How to install Toolset CLI
The package is available on the Toolset CLI GitHub repo.
You can install it in three easy steps:
- Clone the Toolset CLI repository in your site’s /wp-content/plugins/ directory.
cd wp-content/plugins git clone https://github.com/OnTheGoSystems/toolset-cli.git toolset-cli
- Install composer dependencies.
cd toolset-cli composer install
- Activate the Toolset CLI plugin on your WordPress site.
wp plugin activate toolset-cli
That’s it, you can now run Toolset CLI commands.
Are you using WP-CLI? Interested in using Toolset CLI? Any suggestions?
Leave us a comment and we’ll reply!