Skip to content

How to use clap without name or about message? #1617

Answered by CreepySkeleton
imclint21 asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, why not?

name: lucid

# `&template` means yaml anchor, so this template can be reused easily,
#             essential for subcommands
#
# `|` means "block scalar, do not replace newlines with spaces"
# `-` means "trim only trailing newlines"
# `4` is the number of spaces you indent the block with,
#     required since your logo starts with a space
#
# see https://yaml-multiline.info/ for details
template: &template |-4
     ██╗    ██╗   ██╗ ██████╗██╗██████╗     ██╗  ██╗██╗   ██╗
     ██║    ██║   ██║██╔════╝██║██╔══██╗    ██║ ██╔╝██║   ██║
     ██║    ██║   ██║██║     ██║██║  ██║    ██╔═██╗ ╚██╗ ██╔╝
     ██████╗╚██████╔╝╚██████╗██║██████╔╝    ██║  ██╗ ╚████╔╝
     ╚═════╝ ╚═════╝ …

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pksunkara
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants