CLI Console
Grav is developer friendly and provides many useful command line tools and features to make things as simple and as scriptable as possible.
Command Line Intro
Command Line Intro
It's no secret that Grav was built with the command line in mind. While the Admin plugin is certainly making it easier to get more done without opening a Terminal (MacOS and Linux) or Command Prompt (Windows), there's a lot to be said about the speed and level of control that co...
Grav command
Grav command
Grav comes with a built-in command-line interface (CLI) which can be found at bin/grav. The CLI is extremely useful for running recurring tasks such as clearing the cache, making backups, and more.
Accessing the CLI is a simple process but you need to use a terminal. On a m...
Plugin Command
Plugin Command
Plugins can integrate to Grav's CLI bin/plugin and enhance the plugin functionalities via Terminal by executing specific tasks.
As explained in the Grav CLI section, you need to use a terminal in order to be able to execute commands.
When running the command bin/plugin,...
GPM Command
GPM Command
Since the release of version 0.9.3, Grav includes a GPM (Grav Package Manager) which allows you to install, update, uninstall and list all the themes and plugins available on the Grav repository, as well as upgrade Grav itself to the latest version.
Like the Grav CLI, the GPM...
Scripted Upgrades
Scripted Upgrades
Or: Upgrading multiple Grav-installations at once.
This is a guide to make upgrading multiple Grav-installations easier, using Deployer. By multiple I mean separate installations, not a multisite-installation. We'll use the path to each installation to run Grav's CLI comm...