英文:
How to add gravity forms CLI support in WP-CLI?
问题
我正在尝试在终端中使用WP-CLI访问Gravity Forms的'gf'命令。所以我想执行这个命令:
wp gf check-update
我得到了:
'gf'不是一个已注册的wp命令。请参阅'wp help'以获取可用命令。
我正在尝试从他们的文档中自助寻找帮助。
英文:
I am trying to access gravity forms 'gf' commands with WP-CLI in terminal. so I want execute this command
wp gf check-update
I am getting:
'gf' is not a registered wp command. See 'wp help' for available commands.
I am trying to help myself from their docs. Nothing helpful found.
答案1
得分: 1
你必须安装Gravity Forms CLI插件,并且在WordPress站点的命令行目录中才能正确运行其中许多命令。这意味着你必须位于与你的站点的wp-config.php文件相同的目录中。
英文:
You must have the Gravity Forms CLI plugin installed and be in the command line directory of your WordPress site for many of its commands to work correctly. This means you must be in the same directory as your site's wp-config.php file
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论