ws-cli

module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2025 License: GPL-3.0

README

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

Directories

Path Synopsis
cmd
ws-cli command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL