Nohac / yesit

Just like the yes command, but also works with interactive commands.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yesit

yesit is an enhanced version of classic Unix yes command. While retaining the simplicity of yes, yesit extends its functionality to support interactive applications by automatically responding to prompts.

Installation

  1. Ensure you have Rust installed on your system.
  2. Clone the yesit repository:
    git clone https://github.com/Nohac/yesit
  3. Navigate into the yesit directory:
    cd yesit
  4. Build the project using Cargo:
    cargo build --release
  5. The executable will be located in target/release/.
  6. It's also possible to install yesit by running:
    cargo install --path .

Usage

yesit [OPTIONS] -- [COMMAND]

Example

Automatically agree to all prompts with "yes" every second for a script:

yesit -p yes -i 1s -- ./your_script.sh

License

yesit is open-source software licensed under the MIT license. See the LICENSE file for more details.


Disclaimer: This README has been generated by an AI based on the provided program information.

About

Just like the yes command, but also works with interactive commands.


Languages

Language:Rust 100.0%