Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable invocation via runpy #1192

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@jaraco
Copy link

jaraco commented Jul 27, 2019

*Issue #1191

Description of changes:

This change enables the project to be invoked via runpy as described in the ticket. Here I demonstrate the effect of the change locally:

draft $ git --git-dir=~/p/chalice/.git rev-parse --short HEAD                                                                                
c729b3c
draft $ pip-run -q ~/p/chalice -- -m chalice --help                                                                                          
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...

Options:
  --version             Show the version and exit.
  --project-dir TEXT    The project directory path (absolute or
                        relative).Defaults to CWD
  --debug / --no-debug  Print debug logs to stderr.
  --help                Show this message and exit.

Commands:
  delete
  deploy
  gen-policy
  generate-pipeline  Generate a cloudformation template for a...
  generate-sdk
  invoke             Invoke the deployed lambda function NAME.
  local
  logs
  new-project
  package
  url

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Jul 27, 2019

Codecov Report

Merging #1192 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1192      +/-   ##
==========================================
- Coverage   95.81%   95.75%   -0.06%     
==========================================
  Files          28       29       +1     
  Lines        4973     4976       +3     
  Branches      626      627       +1     
==========================================
  Hits         4765     4765              
- Misses        135      138       +3     
  Partials       73       73
Impacted Files Coverage Δ
chalice/__main__.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32fabb3...c729b3c. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.