wrgl init

Initialize a repository in the working directory.

wrgl init [flags]


-h, --help

help for init

Inherited flags


set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")


write cpu profile to file


output debug logs to a file


write heap profile to file


parent directory of repo, default to current working directory.


# initialize repository at <working directory>/.wrgl
wrgl init

# initialize at directory "my-repo"
wrgl init --wrgl-dir my-repo