dev gitignore gen

Write this repository's .gitignore from the shared set and its own additions

Command version
0.0.0
Command configuration
dev-tool:dev.gitignore.gen@0.0.0

Arguments

ArgumentTypeRequiredDefaultDescription
--check, --no-checkbooleanNofalseReport whether the ignore file is what the declaration would write, and write nothing

It also takes the global arguments.

Output

It answers with a gen.gitignoreGenSummary.

Types

gen.gitignoreGenSummary

FieldTypeRequiredDefaultDescription
repositorieslist[string]YesEach repository whose ignore file is generated, as a path from the root the command ran in: . for that root, then each repository it pins that keeps a .dev-tool/config.yml
sharedCountintegerYesHow many ignore rules dev-tool states for every repository
ownCountintegerYesHow many rules the repositories state for themselves in gitignoreAdditions, summed over repositories
checkbooleanYesWhether the run was made with --check, which compares and writes nothing
writtenlist[string]YesThe repositories whose ignore file the run rewrote, as repositories names them. Empty under --check
outOfDatelist[string]YesThe repositories whose ignore file is not what would be generated, as repositories names them. Filled under --check alone, which fails as GITIGNORE_OUT_OF_DATE where it names any