cucapra / cucapra/chazz

Allow commands to use an instance ID

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Following #10, all relevant commands can now use an instance _name_ (e.g., `chazz ssh myinst`). These should also let you use an instance ID, in case you haven't set a name.

This could work by just checking if the name starts with i- and treating it as an ID if so.

This would also let us simplify the `chazz stop` command, which currently has one-off logic to let you use either a name or an ID.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the command handlers for the commands that already accept an instance name, then inspect the existing one-off name-or-ID logic in `chazz stop`. Confirm which commands need the same instance-ID behavior and verify that each accepts both an instance name and an ID, with `chazz stop` using the shared behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.