MKTRUE-IMPORT(1)mktrue 0.3.1MKTRUE-IMPORT(1)

mktrue import

NAME

mktrue import — lift a template’s files out of a product

SYNOPSIS

mktrue import [--from <dir>] [--template <n>] [--target <name>] [--bench <dir>]

mktrue import --adopt-template

DESCRIPTION

import is how the templates are refreshed from products that use them. It reads a product under the method and lifts out the files its template’s manifest names.

It is a dry run. --from names the product to read, and --template the template to import into. --adopt-template records the template’s baseline and writes no file.

It runs from the kit repository, the one that holds the templates. Most people never need it.

OPTIONS

--adopt-template
Record the template’s baseline. Writes no file.
--from <dir>
The product to import from, under the method.
--template <n>
The template to import into.
--target <name>
The agent target to render for. The default is claude-code.
--bench <dir>
The kit to render from. The default is the installed kit.
--help
Print the usage of every command.

EXIT STATUS

0true: everything asked for passed.
2usage: not run from the kit repository, or a template it does not have.

EXAMPLES

import runs from the kit repository. Anywhere else, this is what it says.

exit 2
mktrue import --from . --template applicationmktrue: ✗ import · there is no template called application  why   the manifest names the files to lift, and it is not there  fix   run import from the kit repository, and name a template it has  exit  2

Real output from mktrue 0.3.1, captured with NO_COLOR set.

SEE ALSO