Yera Setup

The setup command provides interactive wizards for first-time and ongoing configuration of Yera. The default yera setup runs a guided flow that detects available provider credentials, configures provider connections, discovers models, and creates a named profile. Subcommands cover individual concerns: setup hub registers a hub connection, setup cred-group walks through credential group creation and project authorisation, and setup provider / setup models let you add or refresh a single provider without re-running the full wizard.

yera setup

Run setup for Yera.

yera setup [--profile STR] [--update]

Options

--profile
type: str = None

Name for the new profile. Prompted if omitted.

--update
type: bool = False

Overwrite an existing profile rather than erroring.

yera setup provider

Interactive setup for a Yera provider connection.

yera setup provider anthropic

Set up anthropic provider connection.

Args: connection_name: Name for this anthropic connection, e.g. 'work' or 'default'.

yera setup provider anthropic [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this anthropic connection.

yera setup provider ollama

Set up ollama provider connection.

Args: connection_name: Name for this ollama connection, e.g. 'work' or 'default'.

yera setup provider ollama [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this ollama connection.

yera setup provider openai

Set up openai provider connection.

Args: connection_name: Name for this openai connection, e.g. 'work' or 'default'.

yera setup provider openai [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this openai connection.

yera setup provider aws

Set up aws provider connection.

Args: connection_name: Name for this aws connection, e.g. 'work' or 'default'.

yera setup provider aws [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this aws connection.

yera setup provider azure

Set up azure provider connection.

Args: connection_name: Name for this azure connection, e.g. 'work' or 'default'.

yera setup provider azure [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this azure connection.

yera setup provider llama-cpp

Set up llama_cpp provider connection.

Args: connection_name: Name for this llama_cpp connection, e.g. 'work' or 'default'.

yera setup provider llama-cpp [CONNECTION_NAME]

Arguments

CONNECTION_NAME
type: str = 'default'

Name for this llama_cpp connection.

yera setup hub

Interactive setup for a Yera Hub connection.

Args:
    local: Required for now: only local hub setup is implemented. Prompts
        for hub name and URL and writes ``yera.toml``, creating the file
        if missing.
yera setup hub [--local]

Options

--local
type: bool = False
aliases: --no-local
negative: --no-local

Required for now: only local hub setup is implemented. Prompts for hub name and URL and writes yera.toml, creating the file if missing.

yera setup cred-group

Interactive three-step wizard for credential group setup.

Step 1: prompt for credential group name and write ``[tool.yera.overrides] cred-group``.
Step 2: add current project root to authorised_roots (TOFU).
Step 3: optionally add initial credentials interactively.
yera setup cred-group

yera setup models

Discover and write available models for provider connections.

yera setup models aws

Discover and write available models for aws connections.

Args: connection_name: Specific aws connection to discover models for. Omit to discover for all configured connections.

yera setup models aws [--connection STR]

Options

--connection
type: str = None

Specific aws connection to discover models for. Omit for all connections.

yera setup models anthropic

Discover and write available models for anthropic connections.

Args: connection_name: Specific anthropic connection to discover models for. Omit to discover for all configured connections.

yera setup models anthropic [--connection STR]

Options

--connection
type: str = None

Specific anthropic connection to discover models for. Omit for all connections.

yera setup models azure

Discover and write available models for azure connections.

Args: connection_name: Specific azure connection to discover models for. Omit to discover for all configured connections.

yera setup models azure [--connection STR]

Options

--connection
type: str = None

Specific azure connection to discover models for. Omit for all connections.

yera setup models llama-cpp

Discover and write available models for llama_cpp connections.

Args: connection_name: Specific llama_cpp connection to discover models for. Omit to discover for all configured connections.

yera setup models llama-cpp [--connection STR]

Options

--connection
type: str = None

Specific llama_cpp connection to discover models for. Omit for all connections.

yera setup models openai

Discover and write available models for openai connections.

Args: connection_name: Specific openai connection to discover models for. Omit to discover for all configured connections.

yera setup models openai [--connection STR]

Options

--connection
type: str = None

Specific openai connection to discover models for. Omit for all connections.

yera setup models ollama

Discover and write available models for ollama connections.

Args: connection_name: Specific ollama connection to discover models for. Omit to discover for all configured connections.

yera setup models ollama [--connection STR]

Options

--connection
type: str = None

Specific ollama connection to discover models for. Omit for all connections.