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


print debug logs to stdout


print debug logs to the given file instead


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