Commit 171768c
authored
feat(enterprise): add Phase 2 support-package commands (#341)
* feat(enterprise): add Phase 2 support-package commands
- Create dedicated support-package command group with better UX
- Add smart file naming with timestamps
- Implement pre-flight checks (disk space, permissions)
- Add JSON output support for all support-package commands
- Create SupportPackageResult struct for consistent JSON responses
- Add comprehensive documentation for both Phase 1 and Phase 2
- Include CI/CD integration examples for automation
- Update CLAUDE.md with structured output as core principle
Implements #341
* fix: address clippy warnings and env var expansion issues
- Fix collapsible_if and collapsible_else_if clippy warnings
- Make config parsing more resilient to missing environment variables
- Use shellexpand::env_with_context_no_errors to avoid errors for unused profiles
- Allows users to use profiles without having all env vars set
* fix: remove broken CommandFactory test
The test was trying to use CommandFactory::command() which doesn't exist
for enum types with Subcommand derive. Removed the test as it wasn't
providing significant value.1 parent 49e78be commit 171768c
File tree
7 files changed
+1581
-94
lines changed- crates/redisctl/src
- commands/enterprise
- docs/src/enterprise
7 files changed
+1581
-94
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1079 | 1083 | | |
1080 | 1084 | | |
1081 | 1085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
0 commit comments