@@ -34,11 +34,9 @@ var PACKAGE_DIRECTORY = process.env.PACKAGE_DIRECTORY;
3434var CONTEXT_FILE = process . env . CONTEXT_FILE || 'context.json' ;
3535var PREBUILT_DIRECTORY = process . env . PREBUILT_DIRECTORY || '' ;
3636
37-
38-
3937program
4038 . version ( lambda . version )
41- . command ( 'deploy' )
39+ . alias ( 'deploy' )
4240 . description ( 'Deploy your application to Amazon Lambda' )
4341 . option ( '-e, --environment [' + AWS_ENVIRONMENT + ']' , 'Choose environment {dev, staging, production}' ,
4442 AWS_ENVIRONMENT )
@@ -70,8 +68,8 @@ program
7068 } ) ;
7169
7270program
73- . version ( lambda . version )
7471 . command ( 'package' )
72+ . alias ( 'zip' )
7573 . description ( 'Create zipped package for Amazon Lambda deployment' )
7674 . option ( '-A, --packageDirectory [' + PACKAGE_DIRECTORY + ']' , 'Local Package Directory' , PACKAGE_DIRECTORY )
7775 . option ( '-n, --functionName [' + AWS_FUNCTION_NAME + ']' , 'Lambda FunctionName' , AWS_FUNCTION_NAME )
@@ -88,8 +86,8 @@ program
8886 } ) ;
8987
9088program
91- . version ( lambda . version )
9289 . command ( 'run' )
90+ . alias ( 'execute' )
9391 . description ( 'Run your Amazon Lambda application locally' )
9492 . option ( '-H, --handler [' + AWS_HANDLER + ']' , 'Lambda Handler {index.handler}' , AWS_HANDLER )
9593 . option ( '-j, --eventFile [' + EVENT_FILE + ']' , 'Event JSON File' , EVENT_FILE )
@@ -102,7 +100,6 @@ program
102100 } ) ;
103101
104102program
105- . version ( lambda . version )
106103 . command ( 'setup' )
107104 . description ( 'Sets up the .env file.' )
108105 . option ( '-j, --eventFile [' + EVENT_FILE + ']' , 'Event JSON File' , EVENT_FILE )
0 commit comments