cloudtools / stacker

An AWS CloudFormation Stack orchestrator/manager.
http://stacker.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
711 stars 167 forks source link

Calling stacker without arguments will crash instead of printing help #730

Open danielkza opened 5 years ago

danielkza commented 5 years ago

With stacker 1.7.0 and Python 3.7.3:

Traceback (most recent call last):
  File "./venv/bin/stacker", line 8, in <module>
    args = stacker.parse_args()
  File "/home/danielkza/cobli/deploy/cloudformation/venv/lib/python3.7/site-packages/stacker/commands/stacker/base.py", line 115, in parse_args
    args.environment.update(args.cli_envs)
AttributeError: 'Namespace' object has no attribute 'environment'