Skip to main content

bud env

The bud env command is used to view your project's environment variables, as processed by bud.js.

Useful for debugging and verifying that certain environment variables are available to your project.

$ bud env --help
Check environment values

━━━ Usage ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ bud env

━━━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

--basedir,--cwd #0 Set project base directory
--cache Utilize compiler's filesystem cache
--clean Clean artifacts and distributables prior to compilation
--color,-c Colorize output
--debug Enable debug mode
--dry Run in dry mode
--filter #0 Limit command to particular bud instances
--force,--flush Force clearing all caches
--ignore-errors,--ignoreErrors Ignore errors
--input,-i,--@src,--src #0 Source directory (relative to project)
--log Enable logging
--mode #0 Compilation mode
--output,-o,--@dist,--dist #0 Distribution directory (relative to project)
--publicPath #0 Public path to serve assets from
--silent,-s silence stdout
--storage #0 Storage directory (relative to project)
--use #0 Enable an extension
--verbose Log verbose output

━━━ Details ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This command will output the values of the environment variables as processed by
bud.js. You can use this to check that your values are being set correctly.

━━━ Examples ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Check environment values set by bud.js
$ bud env