mirror of
https://github.com/alichtman/stronghold.git
synced 2026-05-20 20:40:37 +00:00
Updated -info to -v and rolled out v1.4.1
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Constants:
|
||||
PROJECT_NAME = 'stronghold'
|
||||
VERSION = '1.4'
|
||||
VERSION = '1.4.1'
|
||||
AUTHOR_GITHUB = 'alichtman'
|
||||
AUTHOR_FULL_NAME = 'Aaron Lichtman'
|
||||
DESCRIPTION = "Securely configure your Mac from the terminal."
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+6
-7
@@ -350,18 +350,17 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '-help'])
|
||||
|
||||
@click.command(context_settings=CONTEXT_SETTINGS)
|
||||
@click.option('-lockdown', is_flag=True, default=False, help="Set secure configuration without user interaction.")
|
||||
@click.option('-info', is_flag=True, default=False, help='Display version and author information and exit.')
|
||||
def cli(lockdown, info):
|
||||
@click.option('-v', is_flag=True, default=False, help='Display version and author information and exit.')
|
||||
def cli(lockdown, v):
|
||||
"""Securely configure your Mac.
|
||||
|
||||
Developed by Aaron Lichtman -> (Github: alichtman)"""
|
||||
|
||||
# Print author and version information and exit
|
||||
if info:
|
||||
print('stronghold v{0} by {1} -> Github: {2}\nSource Code: {3}'.format(Constants.VERSION,
|
||||
Constants.AUTHOR_FULL_NAME,
|
||||
Constants.AUTHOR_GITHUB,
|
||||
Constants.URL[0]))
|
||||
if v:
|
||||
print('stronghold v{0} by {1} -> Github: {2}'.format(Constants.VERSION,
|
||||
Constants.AUTHOR_FULL_NAME,
|
||||
Constants.AUTHOR_GITHUB,))
|
||||
sys.exit()
|
||||
|
||||
# Lockdown
|
||||
|
||||
Reference in New Issue
Block a user