banner

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 3 Imported by: 0

README

Banner

This serves as an example to create a CLI with a custom banner.

Code

Output:

$ go run examples/banner/main.go
I am the root command!

Help menu:

$ go run examples/banner/main.go --help

        ███                                       █████
        ░░░                                       ░░███
████████  ████   ██████   ██████   ██████   ██████   ░███ █████  ██████
░░███░░███░░███  ███░░███ ███░░███ ███░░███ ░░░░░███  ░███░░███  ███░░███
░███ ░░░  ░███ ░███ ░░░ ░███████ ░███ ░░░   ███████  ░██████░  ░███████
░███      ░███ ░███  ███░███░░░  ░███  ███ ███░░███  ░███░░███ ░███░░░
█████     █████░░██████ ░░██████ ░░██████ ░░████████ ████ █████░░██████
░░░░░     ░░░░░  ░░░░░░   ░░░░░░   ░░░░░░   ░░░░░░░░ ░░░░ ░░░░░  ░░░░░░
         v0.1.0 - CLI with custom banner

This is an example CLI created with a custom banner.

Flags:

      --help   Get       help for the 'cli' command.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL