Skip to content

Commit 93ab26c

Browse files
committed
Drop name management
1 parent f1c6045 commit 93ab26c

4 files changed

Lines changed: 0 additions & 73 deletions

File tree

src/args.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -72,30 +72,11 @@ pub enum Commands {
7272
#[clap(alias("shot"), alias("screenshot"), alias("screenshots"))]
7373
Shots(ShotsCommands),
7474

75-
/// Set, get, and generate device name.
76-
#[command(subcommand)]
77-
Name(NameCommands),
78-
7975
/// Interact with catalog.fireflyzero.com.
8076
#[command(subcommand)]
8177
Catalog(CatalogCommands),
8278
}
8379

84-
#[derive(Subcommand, Debug)]
85-
pub enum NameCommands {
86-
/// Show the current device name.
87-
#[clap(alias("show"), alias("echo"))]
88-
Get,
89-
90-
/// Set a new device name.
91-
#[clap(alias("change"))]
92-
Set(NameSetArgs),
93-
94-
/// Set a new device name.
95-
#[clap(alias("gen"), alias("new"))]
96-
Generate,
97-
}
98-
9980
#[derive(Subcommand, Debug)]
10081
pub enum CatalogCommands {
10182
/// List all games available in the catalog.

src/cli.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ pub fn run_command(vfs: PathBuf, command: &Commands) -> anyhow::Result<()> {
2222
CatalogCommands::List(args) => cmd_catalog_list(args),
2323
CatalogCommands::Show(args) => cmd_catalog_show(args),
2424
},
25-
Name(command) => match command {
26-
NameCommands::Get => cmd_name_get(&vfs),
27-
NameCommands::Set(args) => cmd_name_set(&vfs, args),
28-
NameCommands::Generate => cmd_name_generate(&vfs),
29-
},
3025
Runtime(root_args) => match &root_args.command {
3126
RuntimeCommands::Launch(args) => cmd_launch(root_args, args),
3227
RuntimeCommands::Restart => cmd_restart(root_args),

src/commands/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ mod import;
99
mod inspect;
1010
mod logs;
1111
mod monitor;
12-
mod name;
1312
mod new;
1413
mod postinstall;
1514
mod repl;
@@ -29,7 +28,6 @@ pub use import::cmd_import;
2928
pub use inspect::cmd_inspect;
3029
pub use logs::cmd_logs;
3130
pub use monitor::cmd_monitor;
32-
pub use name::{cmd_name_generate, cmd_name_get, cmd_name_set};
3331
pub use new::cmd_new;
3432
pub use postinstall::cmd_postinstall;
3533
pub use repl::cmd_repl;

src/commands/name.rs

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)