yes-cli 0.1.0

Sends string repeatedly to stdout
# yes - Generates repetitive output

[![Unlicense](https://img.shields.io/crates/l/yes-cli)](https://unlicense.org)
[![Crates.io](https://img.shields.io/crates/v/yes-cli.svg)](https://crates.io/crates/yes-cli)
[![MSRV 1.56](https://img.shields.io/crates/msrv/yes-cli?logo=rust&label=MSRV&labelColor=orange)](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0/)
[![Safe Rust](https://img.shields.io/badge/Rust-safe-brightgreen.svg)](https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html)
[![Dependency status](https://deps.rs/repo/gitlab/hsn10/yes/status.svg)](https://deps.rs/repo/gitlab/hsn10/yes)
[![Lines of code](https://tokei.rs/b1/gitlab/hsn10/yes?category=code)](https://github.com/XAMPPRocky/tokei)
[![Downloads](https://img.shields.io/crates/d/yes-cli)](https://crates.io/crates/yes-cli/versions)

## Overview

A Rust reimplementation of Unix Version 7 *yes* program.
- Program *yes* sends infinite, repetitive string output to *stdout*.
- The default output is 'y' for the *yes* variant and 'n' for the *no* variant.
- A user can supply own string to repeat.
- Newline is added. CRLF on Windows, LF on other systems.
- *-n* switch suppresses appending LF.
- For performace reasons the string is first repeated into an 8K buffer,
  and then the buffer is sent to stdout.

## Invocation

Following command line options are supported:

* -?  Display help message.
* -n  Suppress adding a \\n to each output line
* positional arguments - User specified string to repeat.
  Because [getopt2]https://crates.io/crates/getopt2 parser is used you can use `--` separator
  for separating arguments from options. This allows use of "-?" and "-n" as strings to print.
* If you use more than one positional argument, they all will be merged together using space as separator.

## MSRV
The minimal supported Rust version **1.56**. The entire *2021 Rust edition* is supported.

## No copyright
This is free and unencumbered software released into the *public domain*.

You may use, modify, distribute, and contribute to this code without restriction.
To the extent possible under law, the author(s) of this work waive all copyright and related rights.

Licensed under [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/) OR [Unlicense](http://unlicense.org/).

![Unlicense logo](https://unlicense.org/pd-icon.png)