Crates.io | cargo-suicide |
lib.rs | cargo-suicide |
version | 0.1.2 |
source | src |
created_at | 2019-03-31 23:50:58.818651 |
updated_at | 2019-03-31 23:55:49.926527 |
description | Tool to fix your code forever |
homepage | |
repository | https://github.com/DenisKolodin/cargo-suicide |
max_upload_size | |
id | 125076 |
size | 2,872 |
If you feel it's time to start living in a new way than this cargo
subcommand is for you.
WARNING! Use this program at your own risk. It can drop recent changes of your project.
Install the tool using this command:
cargo install cargo-suicide
Move to your project's directory, add changes to the code and run:
cargo suicide
If your new code contains any warning it will run git reset --hard
.
If you had written shitcode before it will drop any changes everytime.
If the subcommand dropped your changes, but you feel happy because your editor
remains open than try --god
mode. It will kill you editor as well:
cargo suicide --god