Rename root command to vek with vektor alias #21
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
austin/vektor#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The primary CLI binary should be
vekfor quick, ergonomic usage. Avektoralias should also work so users can use the full name if they prefer.What needs to happen
vektortovekin the build configuration (go build -o vek ./cmd/vektor)cmd/vektordirectory tocmd/vekto match the binary namevektorsymlink or hard link alongsidevek(handle inMakefile/ install instructions)Usefield tovekand addvektoras an aliasvekas the primary name~/.config/vektor/— the project name doesn't change, just the shorthand binary nameKey files
cmd/vek/main.go— renamed entry pointinternal/cli/root.go— root Cobra command (Use: "vek")Makefile— build target and symlink install step