Skip to content

feat: add solutions command - #221

Merged
jeff-schnitter merged 10 commits into
mainfrom
solutions
Jul 14, 2026
Merged

feat: add solutions command#221
jeff-schnitter merged 10 commits into
mainfrom
solutions

Conversation

@jeff-schnitter

Copy link
Copy Markdown
Collaborator

Summary

  • Adds cortex solutions subcommand with list, info, and install commands
  • Solutions are bundled in the CLI package at cortexapps_cli/solutions/<tag>/ and resolved via importlib.resources
  • Each solution is a Cortex backup-format directory with a README.md (YAML frontmatter + ASCII diagram)
  • install delegates to backup import_tenant; shows README after install (suppress with --no-info)
  • Includes github-starter bundle: GitHub Readiness scorecard
  • Auth bypass in global_callback for solutions group; install builds its own client

Commands

cortex solutions list
cortex solutions info -s <tag>
cortex solutions install -s <tag> [--force] [--no-info]

Test plan

  • cortex solutions list renders table with github-starter
  • cortex solutions info -s github-starter renders README with diagram
  • cortex solutions info -s bad-tag exits 1 with helpful error
  • cortex solutions install -s github-starter imports scorecard and shows README
  • cortex solutions install -s github-starter --no-info imports without README
  • Unit tests: pytest tests/test_solutions.py — 7 passed, 1 skipped

🤖 Generated with Claude Code

jeff-schnitter and others added 10 commits July 14, 2026 10:02
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pdate github-starter README with install instructions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…olutions info

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jeff-schnitter
jeff-schnitter requested a review from Cantaley as a code owner July 14, 2026 18:42
@jeff-schnitter
jeff-schnitter merged commit bdc65d6 into main Jul 14, 2026
3 of 4 checks passed
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.

1 participant