* Create `Sudo` type and `SudoKind` enum
* Fix build
* reformat
* Fix choco on windows
* Fix linux
* Fix linux more
* more fix stuff hehe hoho hahaha
* more fix stuff hehe hoho hahaha
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
* Remove the `sys-info` crate
It offers much more features than we currently use.
Additionally, it was preventing me to cross-compile for NetBSD.
Since we were just using the `hostname()` function from the crate,
I went ahead and stole it.
* Add NetBSD target
* Fix FreeBSD clippy warnings
* Closes#150 please disable distrobox by default (#151)
* Check if distrobox exists before running step
* Improve help prompt value names (#153)
* 159 self update error message with standalone versions (#161)
* Rename back to topgrade
* Bugfix Version bump
* Changes reference to topgrade-rs in self-update
* Fixes distrobox errors (#160)
* Rename back to topgrade
* Bugfix Version bump
* Check if distrobox exists before running step
* Fixed sitrobox and version bump
* Version bump to 10.1.2
Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
* Changes windows get_wsl_distribution argument
* changes in get_wsl_distributions
* changes in run_wsl_topgrade due to clippy errors
* Resolves needless borrow
* Adds Archlinux Aura Package Manager support
* Added config support
* Fixes/adds config for aura
* changes aura arguments
* Let Aura only use sudo
* Corrects wrong order of commands
```
fisher: unknown flag or command "update"
usage: fisher add <package...> Add packages
fisher rm <package...> Remove packages
fisher Update all packages
fisher ls [<regex>] List installed packages matching <regex>
fisher --help Show this help
fisher --version Show the current version
fisher self-update Update to the latest version
fisher self-uninstall Uninstall from your system
```
when deciding whether the `-y` argument should be added to an operation.
Previously the `-y` was implicitly assumed for regular updates but was
ignored for the cleanup steps.
Now, it is added as defined in the topgrade runtime configuration.
Authored-by: Andreas Hartmann <hartan@7x.de>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>