Expand description
Version command for Ralph CLI.
Responsibilities:
- Display version information including package version, git commit, and build timestamp.
- Provide both simple and verbose output modes for version details.
Not handled here:
- Version bumping or release management (see release workflow).
- Changelog generation or modification.
Invariants/assumptions:
- Version info is captured at compile time via environment variables set by the build script.
- Git info may be unavailable (e.g., building from tarball), in which case it is omitted gracefully.
Structs§
- Version
Args - Arguments for the version command.
Functions§
- handle_
version - Display version information for Ralph CLI.