Skip to content

feat: fall back to CODER_HEADER_COMMAND environment variable if not set #160

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

Merged
merged 8 commits into from
Nov 3, 2023

Conversation

JoshVee
Copy link
Contributor

@JoshVee JoshVee commented Nov 3, 2023

Context

The Coder CLI supports using the CODER_HEADER_COMMAND environment variable to configure the custom header command.

Intent

This PR adds the ability to fall back to this environment variable if the coder.headerCommand configuration has not explicitly been set.

This ensures that users who have already set up their environment to use the coder CLI, can seamlessly switch to using the VSCode extension.

@kylecarbs kylecarbs merged commit 15c7cba into coder:main Nov 3, 2023
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.

2 participants