trivernis
0a0268c19a
Add fl_* variants for trace, debug, info, warn, error
...
The fl variants allow for passing a message id for the translation
instead of having to invoke the fl macro inside the formatter
2 years ago
Fries
73387e35d3
amethyst: finish adding strings to i18n file
2 years ago
Fries
8f9ce37a78
amethyst: add wip i18n support
2 years ago
Fries
bbc2ac7991
operations/clean: remove unused import
2 years ago
Fries
bf34b975d2
operations/clean: make sure paccache keeps 3 pkgs
...
looks like .pacnew files don't generate properly unless theres like 3
packages in the pacman cache. why is pacman so confusing i swear nobody
knows how it works. well anyways this commit also removes the config
keys `paccache_keep` and `paccache_keep_ins_pkgs` as they shouldnt be
able to be changed.
2 years ago
Fries
eb3fcf3945
amethyst: follow the paperclip (clippys) advice
2 years ago
Fries
786db41860
operations/clean: fix noconfirm for clean
2 years ago
Fries
8475af9af8
builder/paccache: more obvious func/var names
2 years ago
Fries
6b90744230
operations: Replace unwrap_or_else with if let Err
2 years ago
Fries
2ae9ea34dd
operations/clean: Remove debug string
2 years ago
Fries
865c848a90
operations/clean: Use Pacman builder
2 years ago
Fries
1bc9d0a1db
builder: add paccache builder
2 years ago
Fries
cb3cc43749
builder: add rm builder
2 years ago
Fries
3aa4d9da67
config: use config crate
...
Parsing of the config is now done with the config crate
2 years ago
mrshmllow
690b5d5a18
replace usage of Command with ShellCommand
2 years ago
mrshmllow
09195b104c
add sudo to config.toml
2 years ago
trivernis
7aebf35f96
Add output suspending when prompting the user or starting a pager
2 years ago
trivernis
052d176f4a
Reimplement logging by utilizing the tracing crate
...
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis
fdb87cc2fe
Merge branch 'main' into feature/async
...
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
Michal S
5c0d267e36
docstrings
2 years ago
Michal S
fee9ea2fd3
The clippening.
2 years ago
Michal
21f958d0fe
Lotsss of comments
2 years ago
trivernis
21e4d66968
Make fs and command operations asynchronous
...
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis
f763a7aaaf
Merge remote-tracking branch 'origin-crystal/development'
...
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
Michal
c6f472cb90
Globalised `-v` and `--noconfirm`, made `--noconfirm` apply to clean properly. Fmt + import optimise.
2 years ago
Michal
951d31bd77
Don't error out if there are no packages to clean
2 years ago
Michal
89d3c4e1db
Made clean actually uninstall the packages... oops
2 years ago
Michal
92b7829fe1
Initial implementation of new clean subcommand
2 years ago