| Crates.io | figlet-comment |
| lib.rs | figlet-comment |
| version | 0.4.0 |
| created_at | 2024-08-14 08:39:47.838419+00 |
| updated_at | 2024-09-18 08:32:19.223886+00 |
| description | Simple tool to quickly create banner to use as comments. |
| homepage | https://gitlab.com/cyloncore/figlet-comment |
| repository | https://gitlab.com/cyloncore/figlet-comment.git |
| max_upload_size | |
| id | 1337030 |
| size | 26,951 |
Simple tool to quickly create banner to use as comments.
cargo install figlet-comment
After installation the command can be used as follow:
Simple tool to quickly create banner to use as comments.
Usage: figlet-comment [OPTIONS] <TEXT>...
Arguments:
<TEXT>...
Options:
--style <STYLE> [default: //] [possible values: //, %, #]
--no-stdout Disable printing to stdout
--no-clipboard Disable adding to clipboard
-h, --help Print help
-V, --version Print version
In case no comment style is specified, it default to --style //.
It is possible to use c++, rust, latex, python, ruby for <STYLE>.
By default, the resulting text is display on the terminal and copied to the clipboard.
figlet-comment Some text!
figlet-comment --style rust Some text!
figlet-comment --style c++ Some text!
Which result in:
// ____ _ _ _
// / ___| ___ _ __ ___ ___ | |_ _____ _| |_| |
// \___ \ / _ \| '_ ` _ \ / _ \ | __/ _ \ \/ / __| |
// ___) | (_) | | | | | | __/ | || __/> <| |_|_|
// |____/ \___/|_| |_| |_|\___| \__\___/_/\_\\__(_)
//
figlet-comment --style python Some text!
figlet-comment --style ruby Some text!
Which result in:
# ____ _ _ _
# / ___| ___ _ __ ___ ___ | |_ _____ __ |_| |
# \___ \ / _ \| '_ ` _ \ / _ \ | __/ _ \ \/ / __| |
# ___) | (_) | | | | | | __/ | || __/> <| |_|_|
# |____/ \___/|_| |_| |_|\___| \__\___/_/\_\\__(_)
#
figlet-comment --style latex Some text!
Which result in:
# ____ _ _ _
# / ___| ___ _ __ ___ ___ | |_ _____ __ |_| |
# \___ \ / _ \| '_ ` _ \ / _ \ | __/ _ \ \/ / __| |
# ___) | (_) | | | | | | __/ | || __/> <| |_|_|
# |____/ \___/|_| |_| |_|\___| \__\___/_/\_\\__(_)
#