cargo-suicide

Crates.iocargo-suicide
lib.rscargo-suicide
version0.1.2
sourcesrc
created_at2019-03-31 23:50:58.818651
updated_at2019-03-31 23:55:49.926527
descriptionTool to fix your code forever
homepage
repositoryhttps://github.com/DenisKolodin/cargo-suicide
max_upload_size
id125076
size2,872
Denis Kolodin (therustmonk)

documentation

README

cargo-suicide

If you feel it's time to start living in a new way than this cargo subcommand is for you.

Disclaimer

WARNING! Use this program at your own risk. It can drop recent changes of your project.

Installation

Install the tool using this command:

cargo install cargo-suicide

Running

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.

God Mode

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

Gif with a Cat

Commit count: 9

cargo fmt