shell-string 0.1.4

Obvious CLI for basic string manipulation
shell-string-0.1.4 is not a library.

shell-string

Usage

shell-string 0.1.1
Cli for common string operations. Takes input from stdin.

USAGE:
    string <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    length     Returns the length of string
    replace
    split      Split up a string by a separator and print the parts on separate lines
    substr     Extract a part of a given string

Installation

Given cargo is installed on your machine execute

cargo install shell-string

To verify your installation worked type string -v and you should see the appropriate version number.


if you want the very latest version, check out this repository locally using

git clone https://github.com/nilsmartel/string

and build and install the code using

cd string   # go into the repository
cargo install --path . --force      # use force in case the binary is alread installed