Rename root command to vek with vektor alias #21

Open
opened 2026-03-16 22:37:14 +00:00 by austin · 0 comments
Owner

The primary CLI binary should be vek for quick, ergonomic usage. A vektor alias should also work so users can use the full name if they prefer.

What needs to happen

  1. Rename the binary output from vektor to vek in the build configuration (go build -o vek ./cmd/vektor)
  2. Rename the cmd/vektor directory to cmd/vek to match the binary name
  3. Install a vektor symlink or hard link alongside vek (handle in Makefile / install instructions)
  4. Update the Cobra root command's Use field to vek and add vektor as an alias
  5. Update any references in help text, config paths, and documentation to reflect vek as the primary name
  6. Config directory should stay ~/.config/vektor/ — the project name doesn't change, just the shorthand binary name

Key files

  • cmd/vek/main.go — renamed entry point
  • internal/cli/root.go — root Cobra command (Use: "vek")
  • Makefile — build target and symlink install step
The primary CLI binary should be `vek` for quick, ergonomic usage. A `vektor` alias should also work so users can use the full name if they prefer. ## What needs to happen 1. Rename the binary output from `vektor` to `vek` in the build configuration (`go build -o vek ./cmd/vektor`) 2. Rename the `cmd/vektor` directory to `cmd/vek` to match the binary name 3. Install a `vektor` symlink or hard link alongside `vek` (handle in `Makefile` / install instructions) 4. Update the Cobra root command's `Use` field to `vek` and add `vektor` as an alias 5. Update any references in help text, config paths, and documentation to reflect `vek` as the primary name 6. Config directory should stay `~/.config/vektor/` — the project name doesn't change, just the shorthand binary name ## Key files - `cmd/vek/main.go` — renamed entry point - `internal/cli/root.go` — root Cobra command (`Use: "vek"`) - `Makefile` — build target and symlink install step
austin added this to the Fix Foundation milestone 2026-03-16 22:37:14 +00:00
austin self-assigned this 2026-03-16 22:37:14 +00:00
austin added this to the Vektor - CLI project 2026-03-16 22:37:14 +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.

Dependencies

No dependencies set.

Reference
austin/vektor#21
No description provided.