Skip to content

Commit d50d236

Browse files
committed
condense script & template version to version. increment version
1 parent c344cdf commit d50d236

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/hashycalls/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def print_banner( key_width: int, val_width: int ) -> int:
2222
print( f"║{' '.center( key_width + val_width + 4, ' ' ) }{ RED }║")
2323
print( f"║{ RED }{ description.center( val_width + key_width + 4, ' ' ) }{ RED }║")
2424
print( f"║{ 'Coded By: Wizardy0ga'.center( val_width + key_width + 4 ) }║")
25-
print( f"║{ f'Script Version: { SCRIPT_VERSION } | Template Version: { TEMPLATE_VERSION }'.center( key_width + val_width + 4 ) }║")
25+
print( f"║{ f'Version: { VERSION }'.center( key_width + val_width + 4 ) }║")
2626
print( f"║{' '.center( key_width + val_width + 4, ' ' ) }{ RED }║")
2727

2828
return ret

src/hashycalls/core.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
from hashycalls.colors import *
66

77
# -------------------------- Constants --------------------------
8-
SCRIPT_VERSION = "2.1.0"
9-
TEMPLATE_VERSION = "2.0.0"
8+
VERSION = "2.1.1"
109

1110
NAME_LOOKUP = os.path.join( os.path.dirname( os.path.abspath( __file__ ) ), 'rsrc', 'data', 'name-conversion.json' )
1211
TYPE_LOOKUP = os.path.join( os.path.dirname( os.path.abspath( __file__ ) ), 'rsrc', 'data', 'type-conversion.json' )
@@ -178,7 +177,7 @@ def __init__ ( self, source_file: str, filename: str ):
178177
self.comment_regex = []
179178
self.source_file = source_file
180179
self.header_content = \
181-
f"Generated with hashycalls v-{ SCRIPT_VERSION }\nTemplate version: { TEMPLATE_VERSION }\nCommandline: { ' '.join( sys.argv ) }"
180+
f"Generated with hashycalls v-{ VERSION }\nCommandline: { ' '.join( sys.argv ) }"
182181

183182
with open( self.source_file, 'r' ) as file:
184183
self.content = file.read()

0 commit comments

Comments
 (0)