Expand description
shoka — your repository bookshelf.
Modules§
- cache
- Volatile per-repo cache.
- cli
- commands
- config
- Configuration schema + layered loader.
- gh
- GitHub integration: token resolution + per-repo snapshot.
- git_
status - In-process git status capture via
gix. - paths
- OS-aware path resolution for shoka.
- remote
- Remote URL parsing — shared by
shoka import(reads URLs from existing.git/config) andshoka clone(turns user input into a URL we can hand to gix). - state
- Portable shelf ledger.
- updater
- Self-update support via the
kaishincrate — same engine yukimemi/rvpm and yukimemi/renri use, so the UX (download glyph, version-skip prompt,--checkrehearsal mode) is consistent across the yukimemi/* CLI fleet. - vcs
- Git / Jujutsu (
jj) abstraction.
Functions§
- install_
default_ crypto_ provider - Install the
aws_lc_rsrustlsCryptoProvideras the process default. Both reqwest and octocrab pull rustls 0.23 into the build with conflictingCryptoProviderfeatures enabled, so rustls refuses to auto-pick one and panics the first time any HTTPS handshake runs unless this is called first. Call it as early as possible inmain()— before any code path that touches HTTPS (shoka cache refresh, gh snapshot, self-update, clone).