Skip to main content

Module init

Module init 

Source
Expand description

omne init <distro> — scaffold a new omne volume.

Orchestrates: distro spec parse → .omne/ precheck → scaffold → tarball extraction → manifest stamp → bootloader write.

Three entry points:

  • run() — CLI handler, uses real GitHub API
  • init_with_client() — test seam for HTTP integration tests (mockito)
  • init_with_tarballs() — test seam for offline fixture tests

Structs§

Args
Arguments for omne init.

Functions§

init_with_client
Init with a pre-configured GithubClient — test seam for mockito tests.
init_with_tarballs
Init with pre-built tarballs — test seam for offline fixture tests.
run