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

#98 Add dotenv format option to config get command #102

Conversation

imadphp
Copy link

@imadphp imadphp commented Nov 26, 2019

Issue: #98

Example:

╰─ wp config list --format=dotenv
WP_OLD_HASH_PREFIX="$P$"
WP_ENV="development"
WP_HOME="http://example.dev"
WP_SITEURL="http://example.dev/wp"
CONTENT_DIR="/app"
(...)
WP_DEBUG_DISPLAY="1"
SCRIPT_DEBUG="1"
SAVEQUERIES="1"
WP_DEBUG="1"

@imadphp imadphp requested a review from a team as a code owner November 26, 2019 01:12
@imadphp imadphp force-pushed the feature/98-add-dotenv-format-option-to-config-get-command branch 3 times, most recently from 36fabe8 to 352a57c Compare November 27, 2019 19:50
@imadphp
Copy link
Author

imadphp commented Jun 17, 2020

Any plans to merge this sometime?

@imadphp
Copy link
Author

imadphp commented Jun 22, 2020

@schlessera

wp-cli#98 Convert spaces to tabs
wp-cli#98 Apply improvements suggested by phpcs
wp-cli#98 Remove space between function name and opening parenthesis
@schlessera schlessera force-pushed the feature/98-add-dotenv-format-option-to-config-get-command branch from 352a57c to 6dcc11d Compare December 24, 2021 00:09
@schlessera schlessera added this to the 2.1.2 milestone Dec 24, 2021
@schlessera schlessera merged commit 308472e into wp-cli:master Dec 24, 2021
@schlessera
Copy link
Member

Thanks for the PR, @imadphp !

schlessera added a commit that referenced this pull request Jan 6, 2022
@swissspidy swissspidy linked an issue Oct 11, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --format=env option to config get command
2 participants