Kotaimen / awscfncli

Friendly AWS CloudFormation CLI
MIT License
58 stars 12 forks source link

Setup issue on mac os 12.3.1 #111

Open nishjain16 opened 2 years ago

nishjain16 commented 2 years ago

Hi, I am unable to run any of the cfn-cli utilities even after running the setup on my mac. steps done - brew update brew install python3 brew install cloudformation-cli pipx install awscfncli2

below are some of the command outputs i am getting $cfn-cli --version cfn 0.2.25

$cfn-cli --help usage: cfn-cli [-h] [--version] {init,validate,submit,generate,test,invoke,build-image} ...

This tool provides support for creating CloudFormation resource providers.

positional arguments: {init,validate,submit,generate,test,invoke,build-image}

options: -h, --help show this help message and exit --version Show the executable version and exit.

$pipx install awscfncli2 ⚠️ Note: cfn-cli was already on your PATH at /Library/Frameworks/Python.framework/Versions/3.10/bin/cfn-cli installed package awscfncli2 3.1.0, installed using Python 3.10.2 These apps are now globally available

$ cfn-cli -s stack deploy usage: cfn-cli [-h] [--version] {init,validate,submit,generate,test,invoke,build-image} ... cfn-cli: error: argument subparser_name: invalid choice: 'stack' (choose from 'init', 'validate', 'submit', 'generate', 'test', 'invoke', 'build-image')