Skip to content

env commands#15431

Merged
brandonkelly merged 2 commits into4.11from
feature/env
Jul 27, 2024
Merged

env commands#15431
brandonkelly merged 2 commits into4.11from
feature/env

Conversation

@brandonkelly
Copy link
Copy Markdown
Member

Description

Adds env, env/set, and env/remove commands, for managing environment variables in the .env file.

env can output the current value of an environment variable (as returned by craft\helpers\App::env() – so possibly normalized to a boolean or integer), or it can act as a shortcut for env/set if an equal sign is included in the name parameter.

Example env command output

@brandonkelly brandonkelly merged commit d4a48f8 into 4.11 Jul 27, 2024
@brandonkelly brandonkelly deleted the feature/env branch July 27, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant