enx init

Initialize a new project.


Usage

enx init [path]

Arguments

Argument Required Description
path No Path to initialize. Defaults to the current directory.

Description

Creates an enx.toml file with commented-out examples showing all available configuration sections, and registers the project in enx’s registry.

If the directory already contains an enx.toml, enx will skip file creation but still register the project if it isn’t already registered.

Example

$ cd ~/code/my-new-project
$ enx init
  βœ“ Created enx.toml
  βœ“ Registered "my-new-project"

See Also