Commit 418986d
refactor: Improve CLI output (#122)
* wip: add output templates
* Initial commit
* Start to use unified console output
* Add output for demo and release commands
* Finish result output
* Start refactoring of errors
* Make output generic over context
* Use compile time colors
* Bump Rust version in GitHub workflows
* Add error output and error report
* Print error chain in red
* Add command suggestion when there are no stacklets
* Add basic spinner support
* Start to improve error variants
* More error adjustments
* Even more error adjustments
* Final error adjustments
* Bump k8s_openapi and operator-rs version
* Add basic progress output
* Remove unwraps
* Update errors from code review
* Rename error variants
* Add command start and command run error cases
* Start to improve error variants even more
* Update error names, error variant names, struct names
* Rename more enums and structs
* Remove progress spinner
* Fix rustdoc errors
* Remove color support
* Bump operator-rs version
* Apply suggestions
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>
* Remove unwrap, use expect
* Update doc comment
* Bump kube-rs
* Add `hello-world` operator
* Switch to ensure macro
* Fix cargo-deny error
* Fix failing unit tests
* Update error variants
* Switch verious terms to Title Case
---------
Co-authored-by: Malte Sander <malte.sander.it@gmail.com>1 parent 6a59dc9 commit 418986d
File tree
67 files changed
+2099
-1549
lines changed- .github/workflows
- extra/completions
- rust
- stackable-cockpitd/src
- handlers
- stackable-cockpit
- src
- common
- engine
- docker
- kind
- minikube
- platform
- cluster
- demo
- operator
- release
- stacklet
- stack
- utils
- k8s
- xfer
- stackablectl
- src
- args
- cli
- cmds
- output
- templates
- web/src/api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+2099
-1549
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments