CLI for my services
  • Rust 93.4%
  • Nix 4.6%
  • Just 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Clank b2d33b40c0 chore(deps): update dependency code.martials.no/personal/my-nix-lib to v0.2.0 (#24)
Co-authored-by: Renovate <renovate@martials.no>
Reviewed-on: #24
2026-08-21 16:28:00 +00:00
.cargo refactor: Replace nix codegen with openapi-gen-build (#6) 2026-07-30 19:23:33 +00:00
.woodpecker feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
crates feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
src Add tests 2026-07-18 11:18:50 +02:00
tests Add tests 2026-07-18 11:18:50 +02:00
.gitignore feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
AGENTS.md feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
Cargo.lock feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
Cargo.toml feat: Replace codegen with my-clients (#22) 2026-08-15 21:01:07 +00:00
CODEOWNERS Migration: codeowners (#4) 2026-07-29 18:16:17 +00:00
config.dev.toml Move client_id and sso_url to auth in config 2026-07-18 11:00:29 +02:00
flake.lock chore(deps): update dependency code.martials.no/personal/my-nix-lib to v0.2.0 (#24) 2026-08-21 16:28:00 +00:00
flake.nix chore(deps): update dependency code.martials.no/personal/my-nix-lib to v0.2.0 (#24) 2026-08-21 16:28:00 +00:00
justfile refactor: Replace nix codegen with openapi-gen-build (#6) 2026-07-30 19:23:33 +00:00
LICENSE Initial commit 2026-07-16 17:03:03 +00:00
README.md chore: Format 2026-07-18 13:34:44 +02:00
renovate.json chore(renovate): Use global presets 2026-07-30 19:46:10 +00:00
TODO.md Add TODO.md 2026-07-18 20:20:10 +00:00
treefmt.nix Initial commit 2026-07-16 17:31:08 +00:00

my-cli

CLI for internal services (SSO login, Woodpecker CI, context vault, Forgejo, cluster deploy, links).

Usage: my <COMMAND>

Commands:
  login          Login to Keycloak SSO
  ci             Woodpecker CI operations
  context-vault  Read and write to context vault
  forge          List repos and update Forgejo
  cluster        Cluster management: update, create, promote
  links          Useful links

Config

Layered config via config-rs (no file required):

  1. ~/.config/my/config.toml — user-wide overrides
  2. config.dev.toml — per-project overrides (checked in)
  3. MY_CLI_* env vars — runtime overrides (e.g. MY_CLI_SSO_URL)

Selective builds

Each command is a separate crate with a feature flag. Build only what you need:

cargo build --no-default-features -F forge,cluster

Default features: login, ci, context-vault, forge, cluster, links