Skip to content

feature: introduce snow coco command#2755

Open
sfc-gh-mborins wants to merge 4 commits intomainfrom
cortex-code
Open

feature: introduce snow coco command#2755
sfc-gh-mborins wants to merge 4 commits intomainfrom
cortex-code

Conversation

@sfc-gh-mborins
Copy link

Adds snow coco command that:

  • Launches the Cortex Code CLI if it exists on the system
  • Downloads and installs it if it doesn't exist
  • Supports --remove flag to uninstall

.... Generated with Cortex Code

Pre-review checklist

  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • I've added or updated automated unit tests to verify correctness of my new code.
  • I've added or updated integration tests to verify correctness of my new code.
  • I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
  • I've confirmed that my changes are working by executing CLI's commands manually on Windows.
  • I've confirmed that my changes are up-to-date with the target branch.
  • I've described my changes in the release notes.
  • I've described my changes in the section below.
  • I've described my changes in the documentation.

Changes description

...

Adds `snow coco` command that:
- Launches the Cortex Code CLI if it exists on the system
- Downloads and installs it if it doesn't exist
- Supports --remove flag to uninstall

.... Generated with [Cortex Code](https://docs.snowflake.com/user-guide/snowflake-cortex/cortex-agents)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
- Add platform.system mock to tests that call run_cortex_code
- Update help message snapshot to include coco command

.... Generated with [Cortex Code](https://docs.snowflake.com/user-guide/snowflake-cortex/cortex-agents)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
sfc-gh-mborins and others added 2 commits February 5, 2026 12:09
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
- Remove .format() from docstring so command.help is properly set
- Fix syntax error in cortex_code.py (misplaced elif)
- Add snapshot for coco help message

.... Generated with [Cortex Code](https://docs.snowflake.com/user-guide/snowflake-cortex/cortex-agents)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
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