Skip to content

Code comment banner generator for visually dividing long scripts.

License

Notifications You must be signed in to change notification settings

echo-lalia/banner-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |      __    _   ,  , ,  ,  __  __       __   __ ,  ,  __  __    _   ___  __   __      |
# |     |__)  /_\  |\ | |\ | |_  |__) ___ /  _ |_  |\ | |_  |__)  /_\   |  /  \ |__)     |
# |     |__) /   \ | \| | \| |__ | \_     \__) |__ | \| |__ | \_ /   \  |  \__/ | \_     |
# |                                                                                      |
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ banner-generator ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

Simple (self-contained, only imports 'argparse') code comment banner generator for visually dividing long scripts.

Also has a bit of potentially useful code for dynamically cutting up ascii fonts into discrete characters.

usage: bannergenerator.py [-h] [-w WIDTH] [--title_case] [--plain_case] [-H H_CHAR] [-v V_CHAR] [--no_comment] text

positional arguments:
  text                  The text to use in the banner

options:
  -h, --help            show this help message and exit
  -w WIDTH, --width WIDTH
                        The width of the banner
  --title_case          enable title case
  --plain_case          Dont modify the case from the input.
  -H H_CHAR, --h_char H_CHAR
                        Char to use for the horizontal bars
  -v V_CHAR, --v_char V_CHAR
                        Char to use for the vertical bars
  --no_comment          disable "#" at the start of the lines

About

Code comment banner generator for visually dividing long scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages