Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of fields is not respected in the output of plugin get command #5941

Open
2 tasks done
ernilambar opened this issue Apr 12, 2024 · 0 comments
Open
2 tasks done

Comments

@ernilambar
Copy link
Contributor

Bug Report

Describe the current, buggy behavior

wp plugin get akismet --fields=name,version,author --format=csv

Current output:

Field,Value
name,akismet
author,"Automattic - Anti-spam Team"
version,5.3.2

Describe what you would expect as the correct outcome

Field,Value
name,akismet
version,5.3.2
author,"Automattic - Anti-spam Team"

Let us know what environment you are running this on

OS:     Darwin 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov  7 21:48:06 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_X86_64 x86_64
Shell:  /bin/zsh
PHP binary:     /usr/local/bin/php
PHP version:    8.2.17
php.ini used:   /usr/local/etc/php/8.2/php.ini
MySQL binary:   /usr/local/mysql-8.0.36-macos14-x86_64/bin/mysql
MySQL version:  mysql  Ver 8.0.36 for macos14 on x86_64 (MySQL Community Server - GPL)
SQL modes:
WP-CLI root dir:        /Users/nilambarsharma/Code/wp-cli-dev/wp-cli
WP-CLI vendor dir:      /Users/nilambarsharma/Code/wp-cli-dev/wp-cli/vendor
WP_CLI phar path:
WP-CLI packages dir:    /Users/nilambarsharma/.wp-cli/packages/
WP-CLI cache dir:       /Users/nilambarsharma/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:  /Users/nilambarsharma/Sites/clean/wp-cli.local.yml
WP-CLI version: 2.11.0-alpha
@danielbachhuber danielbachhuber transferred this issue from wp-cli/extension-command Apr 26, 2024
@danielbachhuber danielbachhuber added this to the 3.0.0 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants