Merge _configs/ into config/ for single configuration directory. Update all path references. Changes: - Move _configs/* to config/ - Update .gitignore for new patterns - No code references to _configs/ found Impact: -1 root directory (layout_conventions.md compliance)
32 lines
1.5 KiB
TOML
32 lines
1.5 KiB
TOML
# provctl user-facing messages (100% config-driven, zero hardcoded strings)
|
|
# All messages use placeholders like {service_name}, {pid}, {error}, etc.
|
|
|
|
[service_start]
|
|
starting = "Starting {service_name}..."
|
|
started = "✅ Started {service_name} (PID: {pid})"
|
|
failed = "❌ Failed to start {service_name}: {error}"
|
|
already_running = "⚠️ {service_name} is already running (PID: {pid})"
|
|
|
|
[service_stop]
|
|
stopping = "Stopping {service_name}..."
|
|
stopped = "✅ Stopped {service_name}"
|
|
not_running = "⚠️ {service_name} is not running"
|
|
failed = "❌ Failed to stop {service_name}: {error}"
|
|
|
|
[service_status]
|
|
running = "Running (PID: {pid})"
|
|
not_running = "Not running"
|
|
unknown = "Status unknown"
|
|
check_failed = "❌ Failed to check status: {error}"
|
|
|
|
[errors]
|
|
service_not_found = "Service '{service_name}' not found in configuration"
|
|
permission_denied = "Permission denied for operation: {operation}"
|
|
config_error = "Configuration error in {path}: {reason}"
|
|
backend_not_available = "Backend not available: {backend}"
|
|
|
|
[general]
|
|
help = "provctl - Lightweight service control CLI\n\nUsage: provctl [COMMAND] [OPTIONS] [SERVICE]\n\nCommands:\n start Start a service\n stop Stop a service\n restart Restart a service\n status Show service status\n logs Show service logs\n help Show this help message\n\nExamples:\n provctl start syntaxis-api\n provctl stop syntaxis-api\n provctl restart syntaxis-api"
|
|
version = "provctl 0.1.0"
|
|
unknown_command = "Unknown command: {command}"
|