# test.govlab/argv/core/converters/invocation.fixture.ts

> 12 lines of code and 2 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-govlab-argv-core-converters-invocation-fixture-ts
Source text: https://banes-lab.com/source/testing/test.govlab/argv/core/converters/invocation.fixture.ts.txt

Listed in [test.govlab/argv/core/converters](https://banes-lab.com/api/source/testing/test.govlab/argv/core/converters.md), after [test.govlab/argv/core/converters/invocation.converter.test.ts](https://banes-lab.com/source/testing/test.govlab/argv/core/converters/invocation.converter.test.ts.md).

## Definitions

- `SPEC` (lexical_declaration, line 3, exported)
- `FULL_WORDS` (lexical_declaration, line 14, exported)

## Contained in

- [test.govlab/argv/core/converters](https://banes-lab.com/anatomy/testing/folder-testing-test-govlab-argv-core-converters.md)

## Source

```typescript
import type { ArgvSpec } from "@govlab/argv";

export const SPEC: ArgvSpec = {
    command: "npm run thing --",
    flags: [
        { describe: "a value", name: "--name", takesValue: true },
        { describe: "a switch", name: "--loud", takesValue: false },
        { describe: "many", name: "--tag", repeatable: true, takesValue: true },
    ],
    positionals: [{ describe: "the input", name: "input" }],
    summary: "Does a thing.",
};

export const FULL_WORDS: readonly string[] = ["in", "--name", "x", "--loud", "--tag", "a", "--tag", "b"];
```
