Skip to content

Commit 8b36275

Browse files
authored
Update main.rs
1 parent 4e48c67 commit 8b36275

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hacker/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ use clap::{Parser, Subcommand};
22
use colored::*;
33
use hacker::{display_ascii, handle_run, handle_system, handle_unpack, handle_update, play_game, run_command_with_spinner, RunCommands, SystemCommands, UnpackCommands};
44
use std::process::Command;
5+
56
#[derive(Parser)]
67
#[command(name = "hacker", about = "A vibrant CLI tool for managing hacker tools, gaming, and system utilities", version = "1.0.0")]
78
struct Cli {
89
#[command(subcommand)]
910
command: Commands,
1011
}
12+
1113
#[derive(Subcommand)]
1214
enum Commands {
1315
/// Unpack various toolsets and applications
@@ -66,6 +68,7 @@ enum Commands {
6668
/// Enter interactive Hacker shell mode
6769
Shell,
6870
}
71+
6972
fn main() {
7073
let cli = Cli::parse();
7174
match cli.command {

0 commit comments

Comments
 (0)