bdh-linux 4.1.0__tar.gz → 4.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bdh-linux
3
- Version: 4.1.0
3
+ Version: 4.2.1
4
4
  Summary: bdh-linux — Backend Developer OS setup tool for Arch/Manjaro
5
5
  Author-email: Prabakaran <prabakaran20020430@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,7 @@
1
1
  import typer
2
2
  import subprocess
3
3
  from rich import print
4
+ import os
4
5
 
5
6
  app = typer.Typer(help="Remove bloatware from system")
6
7
 
@@ -45,4 +46,11 @@ def media():
45
46
  """Remove media apps"""
46
47
  print("[yellow]🗑️ Removing media apps...[/yellow]")
47
48
  run("sudo pacman -Rns --noconfirm vlc rhythmbox shotwell transmission-gtk thunderbird 2>/dev/null")
48
- print("[green]✅ Media apps removed!")
49
+
50
+
51
+ @app.command()
52
+ def cleanup():
53
+ """ remove cache and orphaned packages...")
54
+ os.system("sudo pacman -Rns $(pacman -Qtdq) --noconfirm || true")
55
+ os.system("sudo pacman -Sc --nocofirm")
56
+ print("✅ System Cleaned successfully!")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bdh-linux
3
- Version: 4.1.0
3
+ Version: 4.2.1
4
4
  Summary: bdh-linux — Backend Developer OS setup tool for Arch/Manjaro
5
5
  Author-email: Prabakaran <prabakaran20020430@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bdh-linux"
7
- version = "v4.1.0"
7
+ version = "v4.2.1"
8
8
  description = "bdh-linux — Backend Developer OS setup tool for Arch/Manjaro"
9
9
  readme = "README.md"
10
10
  authors = [
File without changes
File without changes
File without changes