Skip to content
This repository was archived by the owner on Nov 18, 2023. It is now read-only.

Commit a20b3ac

Browse files
authored
Merge pull request #31 from grarich123/feat_console_commands
Feat: console commands
2 parents 479610a + 7f119af commit a20b3ac

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

deepl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
__author__ = 'grarich'
1111
__license__ = 'MIT'
1212
__copyright__ = 'Copyright 2021-present grarich'
13-
__version__ = '1.0.2'
13+
__version__ = '1.0.3'
1414

1515
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1616

deepl/__main__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ def main():
1212
parser = argparse.ArgumentParser(prog='deepl', description='CLI tool for deepl.py')
1313
parser.add_argument('-v', '--version', action='store_true', help='shows the library version.')
1414
args = parser.parse_args()
15+
ascii_art = """
16+
##### ####### ####### ###### #### ###### ## ##
17+
## ## ## ## ## ## ## ## ## ## ##
18+
## ## ## ## ## ## ## ## ## ## ##
19+
## ## ###### ###### ##### ## ##### ####
20+
## ## ## ## ## ## # ## ##
21+
## ## ## ## ## ## ## ## ## ##
22+
##### ####### ####### #### ####### ## #### ####
23+
"""
24+
print(ascii_art)
1525
if args.version:
1626
print(f'- Python v{sys.version}')
1727
print(f'- deepl.py v{deepl.__version__}')

0 commit comments

Comments
 (0)