refactor(klipper): full refactor of klipper install/remove part #264

Merged
dw-0 merged 12 commits from rework-klipper-installer into master 2022-11-13 15:51:22 +01:00

12 Commits

Author SHA1 Message Date
th33xitus
faeea4ba4e refactor(klipper): set 1 instance as default input
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 15:49:56 +01:00
th33xitus
ec0bdc245e fix(klipper): logic bug
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 15:19:39 +01:00
th33xitus
5d1978dade refactor(klipper): refactor klipper file removal functions
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 14:43:29 +01:00
th33xitus
2bf21fcfef refactor(klipper): merge functions to eliminate unnecessary passing of arguments
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 13:44:41 +01:00
th33xitus
bece85411b refactor(klipper): refactor remove functions in more flexible instance remove functions
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 12:59:40 +01:00
th33xitus
1ff5241a53 chore(klipper): remove TODO
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 11:50:56 +01:00
th33xitus
dd57414be5 fix(klipper): prefix instance name if its only a number
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 11:50:02 +01:00
th33xitus
d0116734f2 fix(klipper): reset input variable by assigning empty string
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-13 11:12:40 +01:00
th33xitus
8d9a4fb916 fix(klipper): fix shellcheck warnings
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-01 20:13:31 +01:00
th33xitus
82c4490071 refactor(klipper): refactor the printing of the dialogs into own functions
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-01 19:51:07 +01:00
th33xitus
a5aa250271 refactor(klipper): revert parts of the refactoring in smaller concise functions
caused issues especially with dialogs, so we have to deal with that mess of the `start_klipper_function` for now.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-11-01 19:40:40 +01:00
th33xitus
d2896943f5 refactor(klipper): full refactor of klipper install part
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-10-31 20:40:31 +01:00