Skip to content

feat(ollama): add launch command with full integration support#2622

Open
KingMario wants to merge 1 commit intowithfig:masterfrom
KingMario:feature/ollama-launch-support
Open

feat(ollama): add launch command with full integration support#2622
KingMario wants to merge 1 commit intowithfig:masterfrom
KingMario:feature/ollama-launch-support

Conversation

@KingMario
Copy link
Copy Markdown

  • Add 8 integrations: claude, cline, codex, droid, opencode, openclaw, pi, vscode
  • Mark integration arg as optional (no-arg launches interactive menu)
  • Add --config and --yes/-y flags

Copilot AI review requested due to automatic review settings April 16, 2026 07:54
@withfig-bot
Copy link
Copy Markdown
Contributor

withfig-bot commented Apr 16, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@withfig-bot
Copy link
Copy Markdown
Contributor

Overview

src/ollama.ts:

Info:

@withfig-bot
Copy link
Copy Markdown
Contributor

Hello @KingMario,
thank you very much for creating a Pull Request!
Here is a small checklist to get this PR merged as quickly as possible:

  • Do all subcommands / options which take arguments include the args property (args: {})?
  • Are all options modular? E.g. -a -u -x instead of -aux
  • Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

@KingMario
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new ollama launch subcommand to the Fig completion spec to support launching an interactive menu or directly launching a named integration, aligning shell completion with the CLI’s expanded integration workflow.

Changes:

  • Added launch subcommand with optional integration arg and integration suggestions (claude, cline, codex, droid, opencode, openclaw, pi, vscode).
  • Added --model, --config, and --yes/-y options to the launch subcommand.
  • Added launch entry under ollama help subcommand suggestions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ollama.ts Outdated
- Add 8 integrations: claude, cline, codex, droid, opencode, openclaw, pi, vscode
- Mark integration arg as optional (no-arg launches interactive menu)
- Add --config and --yes/-y flags
@KingMario
Copy link
Copy Markdown
Author

FYI, ollama launch -h output:

Launch the Ollama interactive menu, or directly launch a specific integration.

Without arguments, this is equivalent to running 'ollama' directly.
Flags and extra arguments require an integration name.

Supported integrations:
  claude    Claude Code
  cline     Cline
  codex     Codex
  droid     Droid
  opencode  OpenCode
  openclaw  OpenClaw (aliases: clawdbot, moltbot)
  pi        Pi
  vscode    VS Code (aliases: code)

Examples:
  ollama launch
  ollama launch claude
  ollama launch claude --model <model>
  ollama launch droid --config (does not auto-launch)
  ollama launch codex -- -p myprofile (pass extra args to integration)
  ollama launch codex -- --sandbox workspace-write

Usage:
  ollama launch [INTEGRATION] [-- [EXTRA_ARGS...]] [flags]

Flags:
      --config         Configure without launching
  -h, --help           help for launch
      --model string   Model to use
  -y, --yes            Automatically answer yes to confirmation prompts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants