Skip to content

docs: improve README with requirements, CLI flags, env vars, build instructions#17

Merged
Microck merged 1 commit into
mainfrom
nightshift/readme-improvements
Apr 13, 2026
Merged

docs: improve README with requirements, CLI flags, env vars, build instructions#17
Microck merged 1 commit into
mainfrom
nightshift/readme-improvements

Conversation

@Microck
Copy link
Copy Markdown
Owner

@Microck Microck commented Apr 13, 2026

Summary

Improves README.md based on thorough codebase analysis to fill gaps in documentation and fix inaccuracies.

Changes

New sections

  • Requirements — documents elevated privileges (sudo/admin), supported Linux distros (debian/ubuntu), and Go 1.22+ for builds
  • CLI flag reference — complete flag tables for run, agent, cleanup, and gui subcommands with defaults sourced directly from internal/app/cli.go and internal/app/gui.go
  • Environment variables — documents the four common env vars (TAILSTICK_AUTH_KEY, TAILSTICK_EPHEMERAL_AUTH_KEY, TAILSTICK_API_KEY, TAILSTICK_OPERATOR_PASSWORD) and references .env.example
  • Building from source — documents go build, make build-all, go test ./..., and available Makefile targets

Fixes

  • Removed stale link to PLAN.md (file does not exist in repo) → replaced with link to CONTRIBUTING.md
  • Fixed lease modes description: removed hardcoded "1, 3, 7" in favor of referencing --days and --custom-days flags
  • Added arm64 to release binary list (release workflow builds linux/arm64 and windows/arm64)
  • Added agent --once example

Verification

All flag names, defaults, and behaviors verified against:

  • internal/app/cli.go — CLI subcommands and flag definitions
  • internal/app/gui.go — GUI flag definitions
  • internal/model/types.go — lease modes and channels
  • internal/platform/platform.go — OS requirements and paths
  • internal/config/config.go — config loading and env var resolution
  • .github/workflows/release.yml — release matrix
  • Makefile — build targets

Files changed

  • README.md (+103 / -7)

…structions

- Add requirements section (elevated privileges, supported OS, Go version)
- Document all CLI flags for run, agent, cleanup, and gui subcommands
- Add environment variables section with common variable names
- Add building from source section with Makefile targets
- Note arm64 release binaries in platform support
- Fix stale PLAN.md link -> CONTRIBUTING.md link
- Fix lease modes description (remove hardcoded '1,3,7', reference --days/--custom-days)
- Add agent --once example
@Microck Microck merged commit a5f3e50 into main Apr 13, 2026
6 checks passed
@Microck Microck deleted the nightshift/readme-improvements branch April 28, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants