File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,21 @@ data MainConfig = DeleteApi { deleteApiEndpoint :: Text}
1313 deriving (Eq ,Show ,Read )
1414
1515mainConfig :: Parser MainConfig
16- mainConfig = subparser
17- ( command " api" (info apiConfig
18- (progDesc " Manipulate AWS API Gateway Endpoints and their relations with Lambda functions" ))
19- <> command " lambda" (info lambdaConfig
20- (progDesc " Manipulate AWS Lambda functions" ))
16+ mainConfig = subparser (
17+ command " api" (info apiConfig
18+ (progDesc " Manipulate AWS API Gateway Endpoints and their relations with Lambda functions" ))
19+ <> command " lambda" (info lambdaConfig
20+ (progDesc " Manipulate AWS Lambda functions" ))
2121 )
2222
2323apiConfig :: Parser MainConfig
2424apiConfig = subparser (
2525 command " create" (info createApiConfig
26- (progDesc " Create an AWS API Gateway endpoint and ties it to AWS Lambda function" ))
26+ (progDesc " Create an AWS API Gateway endpoint and ties it to AWS Lambda function" ))
2727 <> command " delete" (info deleteApiConfig
2828 (progDesc " Delete an API Gateway endpoint" ))
2929 )
3030
31-
3231createApiConfig :: Parser MainConfig
3332createApiConfig = CreateApi
3433 <$> (pack <$> strOption ( long " endpoint"
You can’t perform that action at this time.
0 commit comments