Skip to main content

Module setup

Module setup 

Source
Expand description

Setup wizard for configuring remote sources.

This module provides an interactive wizard that orchestrates the complete remote sources setup workflow:

  1. Discovery - Find SSH hosts from ~/.ssh/config
  2. Probing - Check host connectivity and cass status
  3. Selection - Interactive host selection UI
  4. Installation - Install cass on remotes that need it
  5. Indexing - Run cass index on remotes
  6. Configuration - Generate sources.toml entries
  7. Sync - Initial sync of session data

The wizard supports resume capability via state persistence, allowing interrupted setups to continue where they left off.

Structs§

SetupOptions
Options for the setup wizard.
SetupResult
Result of the setup wizard.
SetupState
Persistent state for resumable setup.

Enums§

SetupError
Errors that can occur during setup.

Functions§

run_setup
Run the setup wizard.