mt templates
mt templates lists every template mt add accepts, one line each: the template’s name, the kind it sets, how many slots it declares, and default on the one mt add picks when you name none. The kind column reads any for a template that leaves the field to a slot, as the built-in task does. The listing has no status column, because mt add stamps the status itself.
The listing reads the same template files mt add reads, so a template added to a directory in [templates] dirs appears without a config change. To see what one template’s slots are, run mt add -t <name> --describe.
List the templates mt add accepts, with the kind each sets
Each line gives the template's name, the kind it sets, its slot count, and default on the one mt add picks when you name none.
Runs on one project and refuses a set.
--json | Print JSON: each template's name, kind, slots and default |
$ mt templates
milestone kind: milestone 7 slots
task kind: any 7 slots default--json wraps the list in templates under $schema, each with its name, kind, slots and default.
Every command also takes the global flags.