claude-autopm 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/config.js +32 -16
- package/package.json +1 -1
package/bin/commands/config.js
CHANGED
|
@@ -79,30 +79,46 @@ class ConfigCommand {
|
|
|
79
79
|
|
|
80
80
|
console.log('│ │');
|
|
81
81
|
|
|
82
|
-
// Features
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
console.log(`│ Docker First: ${this.padRight(dockerStatus, 22)} │`);
|
|
82
|
+
// Features - always show them
|
|
83
|
+
const dockerStatus = config.features?.dockerFirst ? '✅ Enabled' : '❌ Disabled';
|
|
84
|
+
console.log(`│ Docker First: ${this.padRight(dockerStatus, 22)} │`);
|
|
86
85
|
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
const k8sStatus = config.features?.kubernetes ? '✅ Enabled' : '❌ Disabled';
|
|
87
|
+
console.log(`│ Kubernetes: ${this.padRight(k8sStatus, 22)} │`);
|
|
89
88
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
const mcpStatus = config.features?.mcp ? '✅ Enabled' : '❌ Disabled';
|
|
90
|
+
console.log(`│ MCP: ${this.padRight(mcpStatus, 22)} │`);
|
|
91
|
+
|
|
92
|
+
const autoCommit = config.features?.autoCommit ? '✅ Enabled' : '❌ Disabled';
|
|
93
|
+
console.log(`│ Auto Commit: ${this.padRight(autoCommit, 22)} │`);
|
|
94
|
+
|
|
95
|
+
// CI/CD
|
|
96
|
+
const cicdPlatform = config.features?.cicd || 'not configured';
|
|
97
|
+
console.log(`│ CI/CD: ${this.padRight(cicdPlatform, 22)} │`);
|
|
98
|
+
|
|
99
|
+
console.log('│ │');
|
|
94
100
|
|
|
95
101
|
// Execution strategy
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
102
|
+
const executionStrategy = config.execution?.strategy || 'adaptive';
|
|
103
|
+
console.log(`│ Execution: ${this.padRight(executionStrategy, 22)} │`);
|
|
99
104
|
|
|
100
105
|
// Current team
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
106
|
+
const currentTeam = config.teams?.current || 'base';
|
|
107
|
+
console.log(`│ Team: ${this.padRight(currentTeam, 22)} │`);
|
|
108
|
+
|
|
109
|
+
// Environment
|
|
110
|
+
const environment = config.environment || 'development';
|
|
111
|
+
console.log(`│ Environment: ${this.padRight(environment, 22)} │`)
|
|
104
112
|
|
|
105
113
|
console.log('└─────────────────────────────────────────┘\n');
|
|
114
|
+
|
|
115
|
+
// Show available commands hint
|
|
116
|
+
console.log('💡 Available commands:');
|
|
117
|
+
console.log(' autopm config set <key> <value> - Set configuration value');
|
|
118
|
+
console.log(' autopm config toggle <feature> - Toggle feature on/off');
|
|
119
|
+
console.log(' autopm config switch <provider> - Switch to different provider');
|
|
120
|
+
console.log(' autopm config validate - Validate configuration');
|
|
121
|
+
console.log(' autopm config --help - Show all options\n');
|
|
106
122
|
}
|
|
107
123
|
|
|
108
124
|
/**
|