Summary Screen
┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ Question: Would you like to edit the config by hand? │
│ Current: no │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ Press enter to finish the wizard. ("b"=back, "h"=help) │
│ │
│ Keyboard: [h] Help [q] Quit [b] Back [e] Edit [enter] Finish │
└──────────────────────────────────────────────────────────────────────────────┘
Purpose
- Provides a review of all configured settings
- Offers a final chance to make adjustments before saving
- Summarizes the configuration in a clear, readable format
Configuration Summary Display
The summary screen presents the configuration organized by section:
-
General Settings
- Data folder location
- Download strategy
- Logging configuration
-
Services Configuration
- Enabled/disabled status for each service
- Port numbers and key parameters
- Resource allocations
-
Chain Settings
- Configured blockchains
- RPC endpoints
- Chain-specific settings
Final Options
From the summary screen, you can:
- Finish: Accept the configuration and write it to the config file
- Edit: Open the configuration in a text editor for manual changes
- Back: Return to previous screens to make adjustments
- Help: Access documentation about configuration options
- Quit: Exit without saving changes
When the user chooses to finish, the wizard writes the configuration to ~/.khedra/config.yaml
by default, or to an alternative location if specified during the process.
If the user chooses to edit the file directly, the wizard will invoke the system's default editor (or the editor specified in the EDITOR environment variable) and then reload the configuration after editing.