Skip to main content

bud repl

The bud repl command starts a REPL session with bud.js bootstrapped and your configuration loaded.

This is useful for debugging your setup, or for exploring the bud.js API.

$ bud repl --help
Explore the fully booted bud object

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

$ bud repl

━━━ 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
--depth,-d #0 recursion depth
--indent #0 indentation level of objects in output

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

Explore the fully booted bud object
$ bud repl