diff --git a/.pylintrc b/.pylintrc index c0987c591e..1d864729c6 100644 --- a/.pylintrc +++ b/.pylintrc @@ -9,7 +9,7 @@ # Add files or directories to the blacklist. They should be base names, not # paths. -ignore=compat.py +ignore=compat.py, __main__.py # Pickle collected data for later comparisons. persistent=yes diff --git a/samcli/__main__.py b/samcli/__main__.py new file mode 100644 index 0000000000..6b8d9261ce --- /dev/null +++ b/samcli/__main__.py @@ -0,0 +1,10 @@ +""" +Invokable Module for CLI + +python -m samcli +""" + +from samcli.cli.main import cli + +if __name__ == "__main__": + cli()