Title: Gravity Forms CLI Add-On
Author: Rocketgenius
Published: <strong>Èbìbí  24, 2016</strong>
Last modified: Igbe 2, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/gravityformscli/assets/banner-772x250.png?rev=3443386)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/gravityformscli/assets/icon-256x256.png?rev=3443386)

# Gravity Forms CLI Add-On

 Láti ọwọ́ [Rocketgenius](https://profiles.wordpress.org/rocketgenius/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/gravityformscli.1.9.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/gravityformscli/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/gravityformscli/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/gravityformscli/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/gravityformscli/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/gravityformscli/)

## Àpèjúwe

The Gravity Forms CLI Add-On allows WP-CLI users to manage forms and entries and
more on the command line.

[Documentation](https://docs.gravityforms.com/category/add-ons-gravity-forms/wp-cli-add-on/)

#### Getting started

 * `wp help gf`
 * `wp help gf form`
 * `wp help gf form field`
 * `wp help gf form notification`
 * `wp help gf entry`
 * `wp help gf entry notification`
 * `wp help gf install`
 * `wp help gf setup`
 * `wp help gf license`
 * `wp help gf tool`

#### Form Management

    ```
    wp gf form [command]
    ```

Commands:

 * create Ìtumọ̀ Yorùbá: – Creates a new form.
 * delete Ìtumọ̀ Yorùbá: – Deletes a form.
 * duplicate Ìtumọ̀ Yorùbá: – Duplicates a form.
 * edit Ìtumọ̀ Yorùbá: – Launch system editor to edit the Form configuration.
 * export Ìtumọ̀ Yorùbá: – Exports forms to a Gravity Forms Form export file.
 * form_list Ìtumọ̀ Yorùbá: – Lists the forms with entry count and view counts.
 * get Ìtumọ̀ Yorùbá: – Returns the form JSON.
 * import Ìtumọ̀ Yorùbá: – Imports forms from a Gravity Forms Form export file.
 * update Ìtumọ̀ Yorùbá: – Updates a form.

#### Field Management

 * `wp gf form field [command]`
 * `wp gf field [command]` (alias)

Commands:

 * create Ìtumọ̀ Yorùbá: – Creates a field and adds it to a form.
 * delete Ìtumọ̀ Yorùbá: – Deletes a field.
 * duplicate Ìtumọ̀ Yorùbá: – Duplicates a field.
 * edit Ìtumọ̀ Yorùbá: – Launch system editor to edit the Field configuration.
 * get Ìtumọ̀ Yorùbá: – Returns the JSON representation of a field.
 * list Ìtumọ̀ Yorùbá: – Displays a list of fields for a form.
 * update Ìtumọ̀ Yorùbá: – Updates a field.

#### Notification Management

 * `wp gf form notification [command]`
 * `wp gf notification [command]` (alias)

Commands:

 * create Ìtumọ̀ Yorùbá: – Creates a new notification.
 * delete Ìtumọ̀ Yorùbá: – Deletes a notification.
 * duplicate Ìtumọ̀ Yorùbá: – Duplicates a notification.
 * edit Ìtumọ̀ Yorùbá: – Launch system editor to edit the notification configuration.
 * list Ìtumọ̀ Yorùbá: – Lists the notification.
 * get Ìtumọ̀ Yorùbá: – Returns the notification JSON.
 * update Ìtumọ̀ Yorùbá: – Updates a notification.

#### Entry Management

    ```
    wp gf entry [command]
    ```

Commands:

 * create Ìtumọ̀ Yorùbá: – Creates a new entry from either a JSON string with the
   raw entry or from field-value pairs.
 * delete Ìtumọ̀ Yorùbá: – Deletes an entry.
 * duplicate Ìtumọ̀ Yorùbá: – Duplicates an entry
 * edit Ìtumọ̀ Yorùbá: – Launch system editor to edit the JSON representation of
   the Entry.
 * export Ìtumọ̀ Yorùbá: – Exports entries.
 * get Ìtumọ̀ Yorùbá: – Returns a JSON representation of an entry.
 * import Ìtumọ̀ Yorùbá: – Imports entries.
 * list Ìtumọ̀ Yorùbá: – Displays a list of entries.
 * update Ìtumọ̀ Yorùbá: – Updates an entry.

#### Entry Notifications

    ```
    wp gf entry notification [command]
    ```

Commands:

 * get Ìtumọ̀ Yorùbá: – Returns the notifications for the given entry.
 * send Ìtumọ̀ Yorùbá: – Sends the notifications for the given entry.

#### License Management

    ```
    wp gf license [command]
    ```

Commands:

 * update Ìtumọ̀ Yorùbá: – Updates the license key for the installation.
 * delete Ìtumọ̀ Yorùbá: – Deletes the license key for the installation.

#### Misc Tools

    ```
    wp gf tool [command]
    ```

Commands:

 * clear-transients
 * empty-trash Delete the trashed entries.
 * verify-checksums Verify Gravity Forms files against the checksums.
 * system-report Outputs the system report from the Forms > System Status page. 
   Supports “status” as an alias.

#### Installing Gravity Forms and Add-Ons

The above commands all require Gravity Forms to be installed. However, if Gravity
Forms is not installed then you can use this add-on to install it along with all
the other official Gravity Forms add-ons.

The install command will download and install the latest version Gravity Forms available
for auto-update and then run the database setup. The license key will be saved in
the plugin settings.

A valid license key is required either in the `GF_LICENSE_KEY` constant or the `--
key` option.

Examples:

 * `wp gf install --key=xxxxx`
 * `wp gf install --key=xxxxx --activate`
 * `wp gf install gravityformspolls --key=xxxxx`
 * `wp gf install gravityformsquiz --key=xxxxx`

Once installed, the database can be set up or upgraded separately using the setup
command. The command will not re-run the setup unless the `--force` flag is set.

Examples:

 * `wp gf setup`
 * `wp gf setup --force`

Gravity Forms and official add-ons can be updated using the update command.

Examples:

 * `wp gf update`
 * `wp gf update gravityformspolls`

Check the current version using the version command.

Examples:

 * `wp gf version`
 * `wp gf version gravityformspolls`

#### Requirements

 1. WordPress 4.2+
 2. Gravity Forms 1.9.17.8
 3. WP-CLI version 1.0+

#### Support

If you find anything that needs fixing please open a support ticket at https://www.
gravityforms.com/open-support-ticket/

If you have any ideas for improvements please submit your idea at https://www.gravityforms.
com/gravity-forms-roadmap/

## Ìgbéwọlẹ̀

wp plugin install gravityformscli Ìtumọ̀ Yorùbá: –activate

or

    ```
    wp package install https://github.com/gravityforms/gravityformscli.git
    ```

or

 1. Download the zipped file.
 2. Extract and upload the contents of the folder to /wp-contents/plugins/ folder
 3. Go to the Plugin management page of WordPress admin section and enable the ‘Gravity
    Forms CLI’ plugin

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/12b12394e5db07cf2eb5c9643c543ed6e266c7d3a6a9ad01c00ebdad7e8e39eb?
s=60&d=retro&r=g)

### 󠀁[NO support](https://wordpress.org/support/topic/no-support-472/)󠁿

 [henrikfibiger](https://profiles.wordpress.org/henrikfibiger/) Agẹmọ 16, 2021 7
àwọn ìdáhùn

Rocket donÌtumọ̀ Yorùbá: ’t give support The plugin destory my website after try
to uninstall Ìtumọ̀ Yorùbá: – but THEY DONÌtumọ̀ Yorùbá: ’T CARE! DonÌtumọ̀ Yorùbá:’
t use it…

![](https://secure.gravatar.com/avatar/923188f722fcfa9f1927d3e8c4338496de83780d7b11fdaab464b4c0746e3de7?
s=60&d=retro&r=g)

### 󠀁[Fantastic plugin](https://wordpress.org/support/topic/fantastic-plugin-811/)󠁿

 [petrov007](https://profiles.wordpress.org/petrov007/) Ọ̀wàrà 7, 2017 1 ìdáhùn

title says all

![](https://secure.gravatar.com/avatar/4048c4f50726e97a73e90dfa31e96affa3639fa3fda546963626dd980b9d2112?
s=60&d=retro&r=g)

### 󠀁[noice!](https://wordpress.org/support/topic/noice-3/)󠁿

 [hughc](https://profiles.wordpress.org/hughc/) Ọwẹ́wẹ̀ 14, 2017

a great timesaver when bootstrapping a fresh install with WP-CLI, IÌtumọ̀ Yorùbá:’
m assembling a library of previous form exports and then running the required imports
as part of my setup batch file.

![](https://secure.gravatar.com/avatar/b36a0af24ea38f04d24f97909c4a14bb5b4e0975b0f446cb7c075fa30ae42633?
s=60&d=retro&r=g)

### 󠀁[Great Import Functionality](https://wordpress.org/support/topic/great-import-functionality/)󠁿

 [Kishan](https://profiles.wordpress.org/kgajera/) Èbìbí 29, 2017

This worked great to export AND import form entries.

![](https://secure.gravatar.com/avatar/85cd797876de53531b77ed37565fcf9fd5a7bae47d5139120cec9f63d17b706b?
s=60&d=retro&r=g)

### 󠀁[Awesome WP-CLI for Gravity Forms](https://wordpress.org/support/topic/awesome-wp-cli-for-gravity-forms/)󠁿

 [Luke Cavanagh](https://profiles.wordpress.org/lukecavanagh/) Ṣẹrẹ 24, 2017

Works very well, makes it so much easier to manage GF form and export functions 
by command line.

![](https://secure.gravatar.com/avatar/d8ffd7fbc96df8dd75c56a26fc59583f4e75cb8516defc21c2137d07e0085188?
s=60&d=retro&r=g)

### 󠀁[It's the bomb diggity](https://wordpress.org/support/topic/its-the-bomb-diggity/)󠁿

 [Jeff Matson](https://profiles.wordpress.org/jeffmatson/) Ọwẹ́wẹ̀ 3, 2016 1 ìdáhùn

ItÌtumọ̀ Yorùbá: ’s awesome. Makes people like me who are constantly in a CLI window
drool. Yep, itÌtumọ̀ Yorùbá: ’s the bees knees.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 7 ](https://wordpress.org/support/plugin/gravityformscli/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Gravity Forms CLI Add-On” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí
ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Rocketgenius ](https://profiles.wordpress.org/rocketgenius/)

[Túmọ̀ “Gravity Forms CLI Add-On” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/gravityformscli)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/gravityformscli/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/gravityformscli/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/gravityformscli/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/gravityformscli/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.9

 * Updated the plugin to support installing packages through Packagist.

#### 1.8

 * Fixed a bug where the verify checksums command fails even when it should succeed.

#### 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!

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.9**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 4 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **20,000+**
 *  Ẹ̀yà WordPress ** 4.2 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.7.6**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/gravityformscli/)
 * Àmì
 * [gravity forms](https://yor.wordpress.org/plugins/tags/gravity-forms/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/gravityformscli/advanced/)

## Àwọn ìbò

 4.4 lára àwọn ìràwọ̀ 5.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/gravityformscli/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/gravityformscli/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gravityformscli/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gravityformscli/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/gravityformscli/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravityformscli/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gravityformscli/reviews/)

## Àwọn Olùkópa

 *   [ Rocketgenius ](https://profiles.wordpress.org/rocketgenius/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/gravityformscli/)