featureflag

package
v0.0.0-...-c0d4d98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Auth = enable("AUTH")
View Source
var ImpurePrintDevEnv = disable("IMPURE_PRINT_DEV_ENV")

ImpurePrintDevEnv controls whether the `devbox print-dev-env` command will be called with the `--impure` flag. Using the `--impure` flag will have two consequences:

  1. All environment variables will be passed to nix, this will enable the usage of flakes that rely on environment variables.
  2. It will disable nix caching, making the command slower.
View Source
var ResolveV2 = enable("RESOLVE_V2")

ResolveV2 uses the /v2/resolve endpoint when resolving packages.

View Source
var ScriptExitOnError = enable("SCRIPT_EXIT_ON_ERROR")

ScriptExitOnError controls whether scripts defined in devbox.json and executed via `devbox run` should exit if any command within them errors.

View Source
var TidyWarning = disable("TIDY_WARNING")

Functions

func All

func All() map[string]bool

All returns a map of all known features flags and whether they're enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL