Skip to content

Commit

Permalink
Updated -info to -v and rolled out v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed May 30, 2018
1 parent a0f3cd4 commit 1bd852c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion constants.py
@@ -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."
Expand Down
Binary file added dist/stronghold-1.4.1.tar.gz
Binary file not shown.
13 changes: 6 additions & 7 deletions stronghold.py
Expand Up @@ -350,18 +350,17 @@ def lockdown_procedure():

@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
Expand Down

0 comments on commit 1bd852c

Please sign in to comment.