Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 726 Bytes

File metadata and controls

32 lines (25 loc) · 726 Bytes
command init
summary Generate a default `.mdsmith.yml` config in the current directory.

mdsmith init

Generate a default .mdsmith.yml config file in the current directory. The generated file lists every rule with its built-in default settings, so you can flip individual rules off or override settings with a clear diff.

mdsmith init

Refuses to overwrite an existing .mdsmith.yml. Takes no arguments and no flags.

Examples

mdsmith init
$EDITOR .mdsmith.yml

Exit codes

Code Meaning
0 Config written
2 .mdsmith.yml already exists, or error