gactions is the command line interface that you use to
test and update your Actions project.
To select the proper download, you'll need to find your system architecture.
On Mac OS X and Linux devices, you can find your computer's CPU architecture using the terminal command
On Windows 10 devices, take the following steps to find the CPU architecture:
You can download
gactions for your operating system (below).
- Make the downloaded file executable by setting the appropriate permissions.
- On Mac and Linux, run
chmod +x gactionsto make the binary executable.
- On Windows, you must have Administrator rights.
gactionsdownload location must be in your
The following table describes the supported arguments for
||Outputs the help text for this tool. For example:
$ gactions help
To view the help text for a specific argument, use the following syntax:
$ gactions help argument
$ gactions help test
||Get the status of a given version of your Action for the Assistant: in review, production, approved, etc. Use the following syntax:
$ gactions get --project PROJECT_ID
||Creates a default action.json file in the current directory with the following syntax:
$ gactions init
If there is already an existing action.json file, you can overwrite it by adding the
$ gactions init --force
||Lists up to 10 recent versions of your Actions project: in review,
production, approved, etc, with the following syntax:
$ gactions list --project PROJECT_ID
||Pushes an action package to the Assistant Platform for testing with the following
$ gactions test --action_package PACKAGE_NAME --project PROJECT_ID
$ gactions test --action_package mypackage.json --project my-project-1234567
You can optionally disable testing in the sandbox environment
||Updates the Action package for the given project with the following syntax:
$ gactions update --action_package PACKAGE_NAME --project PROJECT_ID
$ gactions update --action_package action.json --project my-project-1234567
To use the
If your Actions project supports multiple languages, please see the action package documentation.
||gactions automatically checks for updates before each command runs, but you can force
that check with
$ gactions selfupdate
View verbose output
To view more detailed output during processing, add the
--verbose flag. For example:
$ gactions --verbose test --action_package action.json --project my-project-1234567