Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Calling the package as a module requires "python -m lambda_local.__init__" #75

Copy link
Copy link
Closed
@ksmoore17

Description

@ksmoore17
Issue body actions

I know that this is a nitpick, but I think that this should be usable with just:
python -m lambda_local

This is relevant for debugging where one might start this using the python command rather than from the entry point.

It's as simple as using a __main__ file that calls the same function as the __init__ file when its __name__ == '__main__'. Any configuration that may use python -m lambda_local.__init__ would not be affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.