Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit df0c237

Browse files
committed
cleanup: remove status command
1 parent a098cea commit df0c237

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

src/commands.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ pub mod aboutme;
22
pub mod apps;
33
pub mod authstatus;
44
pub mod commit;
5-
pub mod status;
65
pub mod init;
76
pub mod login;
87
pub mod logs;

src/commands/status.rs

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

src/main.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ fn main() -> std::io::Result<()> {
8383
.about("Commits to an app on discloud. If you have more than one app, it will ask which app you want to commit to.")
8484
.alias("c")
8585
)
86-
87-
.subcommand(
88-
Command::new("status")
89-
.about("Says if a app is on or off")
90-
.alias("s")
91-
)
9286
.subcommand(
9387
Command::new("remove")
9488
.about("Removes an app. If you have more than one app, it will ask which app you want to delete.")
@@ -133,11 +127,6 @@ fn main() -> std::io::Result<()> {
133127
.about("Allows to interact with other people's bots, you can use this once someone adds you as a moderator.")
134128
.subcommand_required(true)
135129
.arg_required_else_help(true)
136-
.subcommand(
137-
Command::new("status")
138-
.about("Says if a app is on or off")
139-
.alias("s")
140-
)
141130
.subcommand(
142131
Command::new("apps")
143132
.about("Shows all bots you have access to.")
@@ -222,11 +211,6 @@ fn main() -> std::io::Result<()> {
222211
Some(("login", login_matches)) => commands::login::login(login_matches),
223212
Some(("authstatus", _)) => commands::authstatus::authstatus(),
224213
Some(("init", _)) => commands::init::init(),
225-
226-
Some(("status", _)) => {
227-
commands::status::status(false);
228-
Ok(())
229-
}
230214
Some(("upload", _)) => {
231215
commands::upload::upload();
232216
Ok(())
@@ -293,10 +277,6 @@ fn main() -> std::io::Result<()> {
293277
}
294278
},
295279
Some(("teams", matches)) => match matches.subcommand() {
296-
Some(("status", _)) => {
297-
commands::status::status(true);
298-
Ok(())
299-
}
300280
Some(("commit", _)) => {
301281
commands::commit::commit(true);
302282
Ok(())

0 commit comments

Comments
 (0)