feat: Improved package diff printing
This commit is contained in:
@@ -19,7 +19,7 @@ def remove_orphans() -> bool:
|
||||
Returns:
|
||||
True if successful, False otherwise
|
||||
"""
|
||||
return sp.run("pacman -Qdtq | pacman -Rnsy -", capture_output=True).returncode == 0
|
||||
return sp.run("pacman -Qdtq | sudo pacman -Rns --noconfirm -", capture_output=True).returncode == 0
|
||||
|
||||
|
||||
def uninstall_package_list(pkgs: List[str]) -> bool:
|
||||
|
||||
@@ -13,8 +13,8 @@ def print_list(list: List[Any]):
|
||||
" "
|
||||
+ cl.Fore.BLUE
|
||||
+ cl.Style.DIM
|
||||
+ (" " * (digit_count - count_digits(i)))
|
||||
+ str(i)
|
||||
+ (" " * (digit_count - count_digits(i + 1)))
|
||||
+ str(1 + i)
|
||||
+ cl.Style.RESET_ALL + " ",
|
||||
pkg,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user