Update core components including CLI, Nushell libraries, plugins system, and utility scripts for the provisioning system. CLI Updates: - Command implementations - CLI utilities and dispatching - Help system improvements - Command validation Library Updates: - Configuration management system - Infrastructure validation - Extension system improvements - Secrets management - Workspace operations - Cache management system Plugin System: - Interactive form plugin (inquire) - KCL integration plugin - Performance optimization plugins - Plugin registration system Utilities: - Build and distribution scripts - Installation procedures - Testing utilities - Development tools Documentation: - Library module documentation - Extension API guides - Plugin usage guides - Service management documentation All changes are backward compatible. No breaking changes.
57 lines
1.0 KiB
Plaintext
57 lines
1.0 KiB
Plaintext
# Configuration System Module Index
|
|
# Central import point for the new configuration system
|
|
|
|
# Core configuration functionality
|
|
export use loader.nu *
|
|
export use accessor.nu *
|
|
export use migration.nu *
|
|
|
|
# Encryption functionality
|
|
export use encryption.nu *
|
|
export use commands.nu *
|
|
|
|
# Convenience function to get the complete configuration
|
|
# Use as: `use config; config` or `config main`
|
|
export def main [] {
|
|
get-config
|
|
}
|
|
|
|
# Quick access to common configuration sections
|
|
export def paths [] {
|
|
get-paths
|
|
}
|
|
|
|
export def debug [] {
|
|
get-debug
|
|
}
|
|
|
|
export def sops [] {
|
|
get-sops
|
|
}
|
|
|
|
export def validation [] {
|
|
get-validation
|
|
}
|
|
|
|
# Migration helpers
|
|
export def migrate [] {
|
|
use migration.nu show-migration-status
|
|
show-migration-status
|
|
}
|
|
|
|
export def migrate-now [
|
|
--dry-run = false
|
|
] {
|
|
use migration.nu generate-user-config
|
|
generate-user-config --dry-run $dry_run
|
|
}
|
|
|
|
# Configuration validation
|
|
export def validate [] {
|
|
validate-current-config
|
|
}
|
|
|
|
# Initialize user configuration
|
|
export def init [] {
|
|
init-user-config
|
|
} |