#generate #line #bold #text #repeated

bin+lib boldline

Small utility to generate a bold line in a repeated line of text

2 releases

Uses old Rust 2015

0.1.1 Sep 11, 2016
0.1.0 Sep 11, 2016

#7 in #bold

Apache-2.0

9KB
161 lines

boldline
boldline
boldline
boldline
boldline
boldline
boldline
boldline

Generates a bold line in a repeated line of text.

Installation

cargo install boldline

Make sure you have $HOME/.cargo/bin in your $PATH.

Usage

$ boldline
boldline 0.1.0
Generates a bolded line in a line of repeated text

USAGE:
    boldline [OPTIONS] <input>

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

OPTIONS:
    -m, --marking <marking>    Sets the markup to bold with
    -p, --pattern <pattern>    Sets the pattern of line to draw

ARGS:
    <input>    The line to bold

Some Examples:

boldline("boldline".as_string(), Marking::HTMLBold, Pattern::Left); / boldline -p left boldline

boldline
boldline
boldline
boldline
boldline
boldline
boldline
boldline

boldline("boldline".as_string(), Marking::HTMLBold, Pattern::Right); / boldline -p right boldline

boldline
boldline
boldline
boldline
boldline
boldline
boldline
boldline

boldline("boldline".as_string(), Marking::HTMLBold, Pattern::Cross); / boldline -p cross boldline

boldline
boldline
boldline
boldline
boldline
boldline
boldline

Legal

Licensed under the Apache 2.0 license.

Dependencies

~1.5MB
~24K SLoC