Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Adding VP_WP_CLI_BINARY option to vp config #1186

@LorincJuraj

Description

@LorincJuraj

I am running VersionPress on my shared cPanel hosting. The problem is that I was not able to create global wp alias for WP-CLI. I had to modify VersionPress files to include full path to WP-CLI binary. This changes will be lost with next update.

The solution would be to create a new vp config option for the WP-CLI path (simmilar to VP_GIT_BINARY) so you can change the WP-CLI path just by running something like
wp vp config VP_WP_CLI_BINARY '/custom/path/to/wp-cli.phar'

Metadata

Metadata

Assignees

Labels

featureNew feature. See "improvement" for updates of existing functionality.scope: coreCore VersionPress functionality like tracking actions, creating Git commits, etc.size: xsEffort: 1-2 hours

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions