Skip to content

Commit

Permalink
Merge pull request #11 from silvercar/show-version
Browse files Browse the repository at this point in the history
Show version when using `--version`
  • Loading branch information
kenske authored Jun 18, 2019
2 parents 7badbce + b3d79f3 commit 71e58af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read(fname):

setup(
name='terrafort',
version='0.2.0',
version='0.2.1',
install_requires=install_requires,
package_dir={'': 'src'},
packages=find_packages('src'),
Expand Down
1 change: 1 addition & 0 deletions src/terrafort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@click.option('--commands',
is_flag=True,
help="Output import commands instead of a terraform template")
@click.version_option()
@click.pass_context
def cli(ctx, commands=False):
ctx.obj = {'commands': commands}
Expand Down

0 comments on commit 71e58af

Please sign in to comment.