Skip to content

SpaceStateCLI 0.2.0

Choose a tag to compare

@kerker00 kerker00 released this 11 Oct 14:21
· 24 commits to main since this release
301adf5

A command line for people: ask by name whether a space is open, save your spaces, and follow them.

spacestate mainframe            # Mainframe  ● open     for 36 min  Open!
spacestate add mainframe        # then just: spacestate
spacestate watch -i 5m          # current state, then a timed line on every change
spacestate -q mainframe && echo open
  • Spaces are given by name or endpoint URL. Ambiguous names list the candidates instead of guessing.
  • Optional saved spaces in ~/.config/spacestate/spaces, managed with add and remove.
  • search lists open spaces first; --open filters.
  • --json, --waybar and -q (answers through the exit code) for scripts and status bars.
  • Per-command help and shell completion for zsh, bash and fish.

Breaking: the 0.1.0 commands and options (status --space, --format) are gone, and invalid arguments exit with 64 instead of 2. JSON contract version 1 is unchanged. See CHANGELOG.md.

The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. Static binaries, ARM64 and fresh-system packaging remain follow-up work.

Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38146460808