-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bugcommand:cli-aliasRelated to 'cli alias' commandRelated to 'cli alias' commandinternal-api:wp-cli-utils-parse-ssh-url
Description
- Yes, I reviewed the contribution guidelines.
- Yes, more specifically, I reviewed the guidelines on how to write clear bug reports.
Describe the current, buggy behavior
Given a Docker container called myproject_php_1 that can run WP-CLI commands, the following works as expected:
✅ Including the --ssh flag on the CLI:
wp option get home --ssh=docker:www-data@myproject_php_1`
✅ Using the ssh option for an alias in wp-cli.yml:
---
@local:
ssh: docker:www-data@myproject_php_1
wp @local option get home
However, the following does not work:
❌ Using the ssh option in the root of wp-cli/yml:
ssh: docker:www-data@myproject_php_1
wp @local option get home
This results in the following error:
sh: docker: not found
I don't have much more info at the moment but wanted to report it. I can revisit this when I'm less busy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcommand:cli-aliasRelated to 'cli alias' commandRelated to 'cli alias' commandinternal-api:wp-cli-utils-parse-ssh-url