Back to Moon

init

website/docs/commands/init.mdx

2.2.4531 B
Original Source

The moon init command will initialize moon into a repository and scaffold necessary config files by creating a .moon folder.

shell
$ moon init

# In another directory
$ moon init ./app

Arguments

  • [dest] - Destination to initialize and scaffold into. Defaults to . (current working directory).

Options

  • --force - Overwrite existing config files if they exist.
  • --minimal - Generate minimal configurations and sane defaults.
  • --yes - Skip all prompts and enables tools based on file detection.