Skip to content

ManifestSettings

Discovery settings accepted by CLIBuilder.manifest.

Signatures

ts
interface ManifestSettings {}

Members

Properties

files

Candidate manifest filenames in priority order — NOT npm's files publish globs. Discovery probes each name per directory and takes the first that parses.

ts
files?: readonly string[];

from

Anchor discovery to a file/URL/path instead of cwd.

ts
from?: string | URL;

inferName

Infer the CLI name from bin keys or name.

ts
inferName?: InferNameOption;

See Also

Released under the MIT License.