shuc

Crates.ioshuc
lib.rsshuc
version
sourcesrc
created_at2023-08-08 19:46:56.643707
updated_at2024-12-04 00:13:55.668209
descriptiona simple wrapper command to prompt you before running a command
homepage
repositoryhttps://github.com/RoootTheFox/shuc
max_upload_size
id939481
Cargo.toml error:TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Rooot (RoootTheFox)

documentation

README

shuc - don't ever accidentally run a command again¹

shuc is a simple wrapper command that takes a command as input and prompts you to confirm before running it.

usage

shuc <command>

installing

  • you need the rust toolchain installed on your system (as well as having .cargo/bin in your path)
  • then simply run cargo install shuc
  • or run cargo install --git https://github.com/RoootTheFox/shuc

extras

you can use aliases to always run common commands (such as shutdown or rm) through shuc:

  • alias rm="shuc rm"
  • alias shutdown="shuc shutdown"

why is it named shuc?

the original name intention was "shutdown confirmation" but i decided it would be a better idea to make it universal

i kept the name because it was short and sounded nice idk



¹ i am not responsible for any possible fuck ups that occur while using this software

Commit count: 17

cargo fmt