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
Renovate d4807cb9b8
All checks were successful
ci/woodpecker/push/global-rust-verify Pipeline was successful
chore(deps): update rust crate sha2 to v0.11.2 (#44)
Reviewed-on: #44
2026-11-26 07:03:11 +00:00
.cargo refactor: Replace nix codegen with openapi-gen-build (#6) 2026-07-30 19:23:33 +00:00
.woodpecker ci: Fix depends on missing step 2026-10-02 18:21:57 +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 chore(deps): update rust crate sha2 to v0.11.2 (#44) 2026-11-26 07:03:11 +00:00
Cargo.toml chore(deps): update rust crate my-clients to 0.2.0 (#38) 2026-11-09 07:05:40 +00:00
CODEOWNERS Migration: codeowners (#37) 2026-10-28 19:29:57 +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): lock file maintenance (#39) 2026-11-14 07:57:47 +00:00
flake.nix chore(deps): update dependency code.martials.no/personal/my-nix-lib to v0.3.0 (#32) 2026-10-04 12:13:41 +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
NIXPKGS_TRACKER.md docs: Add nixpkgs tracker plan 2026-10-02 18:40:58 +00:00
README.md chore: Format 2026-07-18 13:34:44 +02:00
renovate.json Migration: renovate-config (#36) 2026-10-25 17:57:26 +00:00
TODO.md docs: Add nixpkgs tracker plan 2026-10-02 18:40:58 +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