> ## Documentation Index
> Fetch the complete documentation index at: https://askmarvin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# main

# `marvin.cli.main`

## Functions

### `callback`

```python theme={null}
def callback()
```

### `version`

```python theme={null}
def version(ctx: Context)
```

### `x`

```python theme={null}
def x(operation: str = typer.Option('extract', '--operation', '-o', help='Operation to perform'), target_type: str = typer.Option('str', '--type', '-t', help="Type of entities to extract (any type that can be eval'd)"), instructions: str = typer.Option(None, '--instructions', '-i', help='Instructions for extraction'), n: int = typer.Option(1, '--n', '-n', help='Number of results to generate'))
```

Extract entities from stdin input.

Example: echo "one, two, three" | marvin x -t int | jq

***

**Parent Module:** [`cli`](marvin-cli)
