A Simple CLI for fast swapping into workspaces, written in go
Find a file
Snoweuph d6192dcea7
All checks were successful
Quality Check / Linting (push) Successful in 19s
chore: just use the gplv3 to make it easierto use with nix
2025-10-06 22:51:46 +02:00
.forgejo/workflows feat: default to searching and added ci 2025-04-14 12:31:54 +02:00
cmd/ws-cli feat: generate wrapper on init 2025-10-06 22:33:58 +02:00
internal feat: generate wrapper on init 2025-10-06 22:33:58 +02:00
.gitignore feat: generate wrapper on init 2025-10-06 22:33:58 +02:00
flake.nix chore: add flake 2025-10-06 22:40:51 +02:00
go.mod
go.sum
Justfile feat: generate wrapper on init 2025-10-06 22:33:58 +02:00
License.md chore: just use the gplv3 to make it easierto use with nix 2025-10-06 22:51:46 +02:00
package.nix chore: just use the gplv3 to make it easierto use with nix 2025-10-06 22:51:46 +02:00
Readme.md feat: generate wrapper on init 2025-10-06 22:33:58 +02:00

QS Badge

Workspace CLI

This is a simple CLI for Workspace swapping

Installation

Install the Tool per Go Install:

go install git.euph.dev/snoweuph/ws-cli/cmd/ws-cli@latest

Note

This tool requires a Shell-Wrapper, because of process isolation.

call this tool with --init to generate a shell wrapper for aliasing to ws or also pass the extra option of --alias to set your custom alias.

eval "$(ws-cli --init --alias foo)"

Configuration

The config is to be placed under $HOME/.config/ws-cli.toml

dir = "~/Workspace"
max_depth = 4
follow_symlinks = true
default_icon = " "
marker = [".git", "go.mod", "Cargo.toml", "package.json"]

[[icon]]
priority = 1
match = "Learning"
icon = "󰑴 "

[[icon]]
priority = 1
match = "AdventOfCode"
icon = " "

[[icon]]
priority = 1
match = "Contribute"
icon = "󰮮"

[[icon]]
priority = 2
match = "Contribute/Forgejo"
icon = ""

License

This Project is Open for Humans, but closed for AI.

License: MIT-NON-AI