Options for command — Effect ChildProcess options plus token injection mode.
modelscommand
Source src/internal/launcher.ts:12412 lines
export interface CommandOptions extends import ChildProcessChildProcess.CommandOptions {
/**
* Where to put the minted assume token. Default `"env"` → `HYPERLINK_ASSUME_TOKEN`.
* `"argv"` inserts the token into argv; `"both"` does both.
*/
readonly CommandOptions.token?: TokenInjectionWhere to put the minted assume token. Default "env" → HYPERLINK_ASSUME_TOKEN.
"argv" inserts the token into argv; "both" does both.
token?: type TokenInjection =
| "env"
| "argv"
| "both"
How the assume token is injected into the child process.
TokenInjection;
/**
* Index into `args` at which to insert the token when using `"argv"` / `"both"`.
* Omit ⇒ append after `args`.
*/
readonly CommandOptions.tokenArgvAt?: number | undefinedIndex into args at which to insert the token when using "argv" / "both".
Omit ⇒ append after args.
tokenArgvAt?: number;
}
Referenced by 2 symbols