Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Gravity Forms CLI Add-On icon

Gravity Forms CLI Add-On

v1.7
by rocketgenius · 4.4 (7 reviews)

Manage Gravity Forms on the command line.

10K+ active installs Updated Dec 03, 2024 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card
Gravity Forms CLI Add-On

About Gravity Forms CLI Add-On

The Gravity Forms CLI Add-On is a tool that allows users to manage forms and entries from the command line using WP-CLI. It provides commands for creating, deleting, duplicating, editing, exporting, and updating forms, fields, notifications, and entries. It requires WordPress 4.2+, Gravity Forms 1.9.17.8, and WP-CLI version 1.0+.

Frequently asked questions

What is the Gravity Forms CLI Add-On?
The Gravity Forms CLI Add-On is a WordPress plugin that allows WP-CLI users to manage forms and entries on the command line. It provides command-line access to various Gravity Forms functionalities.
What can I do with form management commands?
You can create, delete, duplicate, edit, export, import, update, and list forms. You can also get the JSON representation of a form.
What functionalities are available for field management?
Field management commands allow you to create, delete, duplicate, edit, update, and list fields for a form. You can also retrieve the JSON representation of a field.
How can I manage notifications using the CLI Add-On?
You can create, delete, duplicate, edit, update, and list notifications. The add-on also allows you to get the JSON representation of a notification.
What entry management capabilities does the plugin offer?
The plugin allows you to create new entries from a JSON string with the raw entry data.

Changelog

1.7

  • Fixed a bug that sometimes causes the form ID to be stored as a string.

1.6

  • Updated the plugin to support installing and updating Gravity SMTP.

1.5

  • Updated the plugin to allow its usage as a WP-CLI package.

1.4

  • Fixed an issue where the version comparison performed when using wp gf update with an add-on slug uses the Gravity Forms version number.
  • Added support for using --version=beta with the wp gf install and wp gf update commands. Add-On beta releases are not currently supported.
  • Fixed a fatal error which can occur when using the wp gf version command with an add-on slug when Gravity Forms is not active or not installed.

1.3

  • Fixed an error occurring when using the wp gf form notification create command.

1.2

  • Updated Gravity API domain.
  • Updated the ids format of the wp gf entry list command to support the page-size and offset args. Credit: Ulrich Pogson.
  • Updated the form export command to support the optional filename arg e.g. wp gf form export 1 --filename=testing.json. Credit: Timothy Decker.
  • Fixed an issue where the wp gf install command could not network activate plugins.
  • Fixed an error occurring when using the wp gf form notification update command without the notification-id arg.
  • Fixed an issue with the wp gf entry export command.

1.1

  • Added support for start_date and end_date filters for the entry export command. e.g. wp gf entry export 11 --start_date="2018-11-01" --end_date="2018-11-11"
  • Added the wp gf tool system-report command and the wp gf tool status alias for outputting the system report from the Gravity Forms 2.2+ System Status page.
  • Fixed an issue with the wp gf install command ending with an error message when no error occurred.
  • Fixed an issue where old messages could continue to be displayed in the admin following a license key change.
  • Fixed an “invalid synopsis part” warning and an “unknown parameter” error with the wp gf form field update command.
  • Fixed the wp gf form update command using the wrong argument to get the existing form which could result in a form not found error.
  • Fixed an issue with the wp gf form create command where missing field IDs are added automatically.

1.0

  • Added the wp gf license command.
  • Fixed an issue with updating forms from an export file.

1.0-rc-1

  • Added the --file arg to the wp gf form update command to allow forms to be updated from an export file.
  • Fixed a fatal error when using the install command.

1.0-beta-5

  • Added the wp gf form notification command.
  • Added the wp gf entry notification command.
  • Added the wp gf version command.
  • Added the wp gf update command.
  • Updated the install and update commands to download the latest hotfix version by default.
  • Fixed an issue with wp gf form export <form-id> where the form ID is ignored.

1.0-beta-4

  • Updated the install command to pass the --force value to the setup command.
  • Updated the output when forcing the setup.

1.0-beta-3

  • Added the wp gf setup command
  • Fixed an issue with the install command where the database was not setup until visiting the WP dashboard.
  • Updated the WP-CLI requirement to 1.0+

1.0-beta-2

  • Added support for the WP-CLI package index.
  • Fixed entry export.

1.0-beta-1

  • All new!

Try other plugins

Classic Editor icon

Classic Editor

4.9 · 9M+ installs

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…