Skip to content

Add --provider flag to skrun init #1

@Tarcroi

Description

@Tarcroi

Context

skrun init currently asks an interactive prompt to choose the LLM provider. It would be useful to skip this with a CLI flag.

Proposal

# Today: interactive
skrun init my-agent
# → "Choose a provider:" (prompt)

# With flag: no prompt
skrun init my-agent --provider google

The flag should set the model.provider and a default model.name in the generated agent.yaml.

Files to change

  • packages/cli/src/commands/init.ts — add --provider option, skip prompt if provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions