Add vektor project list and vektor project create #7

Open
opened 2026-03-16 21:19:52 +00:00 by austin · 0 comments
Owner

First real CRUD commands. Create and list projects from the CLI.

What needs to happen

vektor project create --key VEK --name "Vektor"

  • --key and --name are required
  • Optional --description
  • Print the created project on success

vektor project list

  • Output a clean table: project key, name, description
  • Use text/tabwriter from the standard library for alignment — no external deps

Keep cobra command definitions in cmd/vektor/ and API client logic in internal/cli/. These are the first commands that exercise the API client built in #5.

First real CRUD commands. Create and list projects from the CLI. ## What needs to happen **`vektor project create --key VEK --name "Vektor"`** - `--key` and `--name` are required - Optional `--description` - Print the created project on success **`vektor project list`** - Output a clean table: project key, name, description - Use `text/tabwriter` from the standard library for alignment — no external deps Keep cobra command definitions in `cmd/vektor/` and API client logic in `internal/cli/`. These are the first commands that exercise the API client built in #5.
austin added this to the CLI Core milestone 2026-03-16 21:19:52 +00:00
austin self-assigned this 2026-03-16 21:19:52 +00:00
austin added this to the Vektor - CLI project 2026-03-16 21:19:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
Reference
austin/vektor#7
No description provided.