Skip to content

Commit

Permalink
Remove the status command
Browse files Browse the repository at this point in the history
Remove the status command because it was simply a proxy command and
provided no real value. Also was just noise when new users are looking
at the commands and it makes them feel overwhelmed instead of focusing
on the actual commands they should be learning.

[changelog]
removed: the status command

<!-- ps-id: f7a79baa-52fc-4eb9-bb19-27b00cb08aa0 -->
  • Loading branch information
drewdeponte committed Oct 20, 2023
1 parent 02a0b36 commit 71b307d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 31 deletions.
4 changes: 0 additions & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,6 @@ stack.
#[command(name = "amend-patch", alias = "a")]
AmendPatch(AmendPatchOpts),

/// (s) - get the status of local changes & staged changes
#[command(name = "status", alias = "s")]
Status,

/// display a log of integrated patches
Log,

Expand Down
1 change: 0 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ pub mod rebase;
pub mod request_review;
pub mod request_review_branch;
pub mod show;
pub mod status;
pub mod sync;
pub mod utils;
11 changes: 0 additions & 11 deletions src/commands/status.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pub use ps::public::rebase::rebase;
pub use ps::public::request_review::{request_review, RequestReviewError};
pub use ps::public::request_review_branch::{request_review_branch, RequestReviewBranchError};
pub use ps::public::show::show;
pub use ps::public::status::status;
pub use ps::public::sync::{sync, SyncError};
pub use ps::public::upstream_patches::upstream_patches;
pub use ps::public::verify_isolation::{verify_isolation, VerifyIsolationError};
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ fn main() {
cli::Command::Checkout(opts) => commands::checkout::checkout(opts.patch_index),
cli::Command::CreatePatch => commands::create_patch::create_patch(),
cli::Command::AmendPatch(opts) => commands::amend_patch::amend_patch(opts.no_edit),
cli::Command::Status => commands::status::status(),
cli::Command::Log => commands::log::log(),
cli::Command::Fetch => commands::fetch::fetch(cli.color),
#[cfg(feature = "backup_cmd")]
Expand Down
1 change: 0 additions & 1 deletion src/ps/public/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub mod rebase;
pub mod request_review;
pub mod request_review_branch;
pub mod show;
pub mod status;
pub mod sync;
pub mod upstream_patches;
pub mod verify_isolation;
12 changes: 0 additions & 12 deletions src/ps/public/status.rs

This file was deleted.

0 comments on commit 71b307d

Please sign in to comment.