File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44__email__ = 'nficano@gmail.com'
55__version__ = '0.1.11'
66
7- from .aws_lambda import deploy , invoke , init
7+ from .aws_lambda import deploy , invoke , init , build
88
99# Set default logging handler to avoid "No handler found" warnings.
1010import logging
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ def init():
2020 aws_lambda .init (CURRENT_DIR )
2121
2222
23+ @click .command (help = "Bundles package for deployment." )
24+ def build ():
25+ aws_lambda .build (CURRENT_DIR )
26+
27+
2328@click .command (help = "Run a local test of your function." )
2429@click .option ('--event-file' , default = None , help = 'Alternate event file.' )
2530@click .option ('--verbose' , '-v' , is_flag = True )
@@ -35,4 +40,5 @@ if __name__ == '__main__':
3540 cli .add_command (init )
3641 cli .add_command (invoke )
3742 cli .add_command (deploy )
43+ cli .add_command (build )
3844 cli ()
You can’t perform that action at this time.
0 commit comments