Switch between common values for environment variables
MIT License
Bot releases are visible (Hide)
es run
(#72)brew install LucasPickering/homebrew-tap/env-select
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/env-select/releases/download/v1.1.3/env-select-installer.sh | sh
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 8 months ago
brew install LucasPickering/homebrew-tap/env-select
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/env-select/releases/download/v1.1.2/env-select-installer.sh | sh
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 8 months ago
es set
subcommand no longer requires --source-file
arg
env-select
to es
brew install LucasPickering/homebrew-tap/env-select
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/env-select/releases/download/v1.1.1/env-select-installer.sh | sh
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 8 months ago
multiple
to filter which values are loaded from a mappingbrew install LucasPickering/homebrew-tap/env-select
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/env-select/releases/download/v1.1.0/env-select-installer.sh | sh
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 9 months ago
es
instead of env-select
in CLI help outputes show config
now accepts optional arguments to print for a single application or profilebrew install LucasPickering/homebrew-tap/env-select
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LucasPickering/env-select/releases/download/v1.0.0/env-select-installer.sh | sh
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 9 months ago
es
instead of env-select
in CLI help outputes show config
now accepts optional arguments to print for a single application or profilebrew install LucasPickering/homebrew-tap/env-select
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] 9 months ago
brew install LucasPickering/homebrew-tap/env-select
File | Platform | Checksum |
---|---|---|
env-select-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
env-select-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
env-select-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
env-select-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Published by github-actions[bot] about 1 year ago
command
value source is effectively gone, and the shell
value source type has to renamed to command
to replace the old one
shell
type is gone and the command
field for the command
type now takes a string instead of a string[]
cwd
option to command
value source type, to force the command to execute in a particular directoryPATH
variable will be prepended to the existing value, rather than replacing it
PATH
Published by github-actions[bot] about 1 year ago
es set
is now written to a temporary file instead of stdout. This difference is handled by the shell functions, so no change to behavior for usersPublished by github-actions[bot] about 1 year ago
es show
is now broken into sub-subcommands: es show config
and es show shell
--run-in-shell
flag to es run
es run
and es set
no longer require an application name in the command; if not given, they will prompt, the same way they prompt for profile namees run
failsPublished by github-actions[bot] over 1 year ago
multiple
flag
file
value source, which loads value(s) from a file path (combine with multiple = true
for maximum fun!)VARIABLE1 = 123
or VARIABLE2 = false
Published by github-actions[bot] over 1 year ago
This should be the last release with major breaking changes. The config layout has changed dramatically in order to support planned (and unplanned) future features.
vars
config section. You can no longer provide mappings for single variables. Instead, define a set of profiles with single variables
apps
field to applications
profiles
and variables
subfieldsapps.app1.profile1.VARIABLE1
will now be applications.app1.profiles.profile1.variables.VARIABLE1
es
shell function definitions now use the full path to the env-select
binary rather than relying on PATH
env-select
to the PATH
, and also guarantees that the copy of env-select
that is being executed by es
is the one that generated that es
definition in the first placePublished by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
env-select init
on systems that don't have the specified shell presentPublished by github-actions[bot] over 1 year ago
I tried to fit all the foreseeable breaking changes into this release, there may be some more though.
type
field. E.g. type = "literal"
or type = "command"
--shell-path
option back to --shell
, and it once again only requires a shell name, rather than a full path
which
command now. This means whatever shell you use must be in your PATH
command
value source type to shell
command
name is now used for commands that are executed nativelyrun
subcommand, for one-off environment usage
kubectl exec
or poetry run
command
value source type, which accepts an array of strings and executes a command natively, rather than via the shellkubernetes
value source type, which executes a command in a kubernetes pod via kubectl
sensitive
option for literals
-vvv
) to enable more granularity in log filteringPublished by github-actions[bot] over 1 year ago
env-select init
function. Add this to your shell startup script to load it automatically. See installation instructions for more info.--shell-path
option allows you to override the $SHELL
variable. This is rarely necessary, mostly useful for debugging.es set
sensitive
option to command
value source, to mask data in information output-vv
$(echo def)
) to invoke a subshell. This reduces the surface area for bugs, and opens up options new kinds of dynamic values.Published by github-actions[bot] over 1 year ago
Fixed release process. Binaries for 0.4.0 are attached to this release
Published by github-actions[bot] over 1 year ago
es
to env-select
(to facilitate shell plugins using es
)env-select set
subcommandshow
subcommandenv-select set
or an invalid variable/application namePublished by github-actions[bot] over 1 year ago
command
variant for values, allowing lazily evaluated commands instead of static valuesaarch64-apple-darwin
to release buildPublished by github-actions[bot] almost 2 years ago