Skip to content

Commit 418986d

Browse files
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

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

.github/workflows/pr_cockpit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- "go.sum"
1616

1717
env:
18-
RUST_VERSION: 1.70.0
18+
RUST_VERSION: 1.73.0
1919
CARGO_TERM_COLOR: always
2020
CARGO_INCREMENTAL: "0"
2121
CARGO_PROFILE_DEV_DEBUG: "0"

.github/workflows/pr_general.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Pull Request General
44
on: workflow_call
55

66
env:
7-
RUST_VERSION: 1.70.0
7+
RUST_VERSION: 1.73.0
88
CARGO_TERM_COLOR: always
99
CARGO_INCREMENTAL: "0"
1010
CARGO_PROFILE_DEV_DEBUG: "0"

.github/workflows/pr_stackablectl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- "extra/**"
1515

1616
env:
17-
RUST_VERSION: 1.70.0
17+
RUST_VERSION: 1.73.0
1818
CARGO_TERM_COLOR: always
1919
CARGO_INCREMENTAL: "0"
2020
CARGO_PROFILE_DEV_DEBUG: "0"

.github/workflows/release_stackablectl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "stackablectl-[0-9]+.[0-9]+.[0-9]+**"
88

99
env:
10-
RUST_VERSION: 1.70.0
10+
RUST_VERSION: 1.73.0
1111
CARGO_TERM_COLOR: always
1212
CARGO_INCREMENTAL: "0"
1313
CARGO_PROFILE_DEV_DEBUG: "0"

0 commit comments

Comments
 (0)