Jesús Pérez eb20fec7de
chore: release 1.0.11 - nu script cleanup & refactoring + i18n fluentd
- Documented Fluent-based i18n system with locale detection
  - Bumped version from 1.0.10 to 1.0.11
2026-01-14 02:00:23 +00:00

59 lines
1.1 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 accessor_generated.nu * # Schema-driven generated accessors
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
}