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.
Feedback?
Are you using WP-CLI? Interested in using Toolset CLI? Any suggestions?
Leave us a comment and we’ll reply!
Great news! I am a very big fan of WP CLI and now I can play more comfortably with my favorite custom content building plugin.
Thank you, Amy! We’re glad that you find it useful. WP CLI rocks π
If you miss any features in Toolset CLI, don’t hesitate to let us know in a new GitHub issue.
For anyone reading this after the original announcement, import and export commands have been added to the top-level views command, and for sites using the legacy Layouts plugin, I just submitted a pull request via GitHub to support importing and exporting layouts.
Bon appΓ©tit!
That’s awesome, thank you very much for your contribution and message, Saul!
WOW this is pure awesomeness, this makes Toolset even more convenient!
Thank you!! π