Skip to content

Commit b7d3509

Browse files
authored
Update lib.rs
1 parent 99c599f commit b7d3509

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

hacker/atomic/src/lib.rs

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,54 @@
1-
1+
mod commands;
2+
mod game;
3+
mod help;
4+
mod utils;
5+
pub use commands::{handle_unpack, handle_system, handle_run, handle_immutable, handle_runtime, handle_install, handle_remove, handle_back, handle_clean, handle_snapshot};
6+
pub use game::play_game;
7+
pub use help::display_ascii;
8+
pub use utils::{handle_update, run_command_with_progress};
9+
use clap::Subcommand;
10+
#[derive(Subcommand)]
11+
pub enum UnpackCommands {
12+
/// Install add-ons (Wine, BoxBuddy, Winezgui, Gearlever)
13+
AddOns,
14+
/// Install both gaming and cybersecurity tools
15+
GS,
16+
/// Install development tools (Atom)
17+
Devtools,
18+
/// Install emulators (PlayStation, Nintendo, DOSBox, PS3)
19+
Emulators,
20+
/// Install cybersecurity tools (nmap, wireshark, Metasploit, Ghidra, etc.)
21+
Cybersecurity,
22+
/// Interactive UI for selecting individual packages
23+
Select,
24+
/// Install gaming tools (OBS Studio, Lutris, Steam, etc.) with Roblox
25+
Gaming,
26+
/// Install gaming tools without Roblox
27+
Noroblox,
28+
/// Install gamescope for hacker mode
29+
HackerMode,
30+
}
31+
#[derive(Subcommand)]
32+
pub enum SystemCommands {
33+
/// Show system logs
34+
Logs,
35+
}
36+
#[derive(Subcommand)]
37+
pub enum RunCommands {
38+
/// Run HackerOS Cockpit
39+
HackerosCockpit,
40+
/// Switch to another session
41+
SwitchToOtherSession,
42+
/// Update the system
43+
UpdateSystem,
44+
/// Check for system updates
45+
CheckUpdates,
46+
/// Launch Steam via HackerOS script
47+
Steam,
48+
/// Launch HackerOS Launcher
49+
HackerLauncher,
50+
/// Run HackerOS Game Mode
51+
HackerosGameMode,
52+
/// Update HackerOS
53+
UpdateHackeros,
54+
}

0 commit comments

Comments
 (0)