cue mod init

CUE v0.18.0

initialize new module in current directory

Usage

cue mod init [module] [flags]

Init initializes a cue.mod directory in the current directory, in effect creating a new module rooted at the current directory. The cue.mod directory must not already exist. A legacy cue.mod file in the current directory is moved to the new subdirectory.

If the module name is not provided, a default module path (cue.example) will be used.

Flags

-f, --force                        force moving old-style cue.mod file
--language-version string          set the language version ('current' means current language version)
--source string                    set the source field

Global flags

-E, --all-errors                   print all available errors
-C, --chdir string                 change working directory before running command (must be the first flag)
-i, --ignore                       proceed in the presence of errors
-s, --simplify                     simplify output
Install CUE