refactor: version 0.0.10

This commit is contained in:
wss-git 2021-06-10 09:59:15 +08:00
parent 45b0fdd4cb
commit 1fd83169d0
4 changed files with 17 additions and 13 deletions

View File

@ -73,8 +73,10 @@ exports.default = [
{
header: 'Examples with Yaml',
content: [
'$ s exec -- invoke --invocation-type sync --event [payload]',
'$ s exec -- invoke --invocation-type async --event-file [path]',
'$ s invoke',
'$ s <ProjectName> invoke',
'$ s exec -- invoke --invocation-type sync --event <payload>',
'$ s exec -- invoke --event-file <file-path>',
'$ s exec -- invoke --event-stdin',
],
},
@ -82,18 +84,18 @@ exports.default = [
header: 'Examples with CLI',
content: [
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event [payload]',
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event <payload>',
},
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-file [path]',
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-file <file-path>',
},
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-stdin',
},
{
example: 'You also can refer to the usage of fc-api and execute [s cli fc-api -h] for help. $ s cli fc-api invokeFunction -h',
example: '\nYou also can refer to the usage of fc-api and execute [s cli fc-api -h] for help. $ s cli fc-api invokeFunction -h',
},
],
},
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21tb24vaGVscC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtCQUFlO0lBQ2I7UUFDRSxNQUFNLEVBQUUsUUFBUTtRQUNoQixPQUFPLEVBQUUsa0NBQWtDO0tBQzVDO0lBQ0Q7UUFDRSxNQUFNLEVBQUUsT0FBTztRQUNmLE9BQU8sRUFBRSxzQkFBc0I7S0FDaEM7SUFDRDtRQUNFLE1BQU0sRUFBRSxTQUFTO1FBQ2pCLF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JBQ1YsSUFBSSxFQUFFLE9BQU87YUFDZDtTQUNGO0tBQ0Y7SUFDRDtRQUNFLE1BQU0sRUFBRSxvQkFBb0I7UUFDNUIsT0FBTyxFQUFFO1lBQ1AsWUFBWTtZQUNaLDBCQUEwQjtZQUMxQiw2REFBNkQ7WUFDN0QsNkNBQTZDO1lBQzdDLGtDQUFrQztTQUNuQztLQUNGO0lBQ0Q7UUFDRSxNQUFNLEVBQUUsbUJBQW1CO1FBQzNCLE9BQU8sRUFBRTtZQUNQO2dCQUNFLE9BQU8sRUFBRSxpR0FBaUc7YUFDM0c7WUFDRDtnQkFDRSxPQUFPLEVBQUUsd0dBQXdHO2FBQ2xIO1lBQ0Q7Z0JBQ0UsT0FBTyxFQUFFLDZGQUE2RjthQUN2RztZQUNEO2dCQUNFLE9BQU8sRUFBRSx3SEFBd0g7YUFDbEk7U0FDRjtLQUNGO0NBQ0YsQ0FBQSJ9

View File

@ -1,6 +1,6 @@
{
"name": "fc-remote-invoke",
"version": "0.0.9",
"version": "0.0.10",
"description": "This is a component demo for Serverless Devs Tool ",
"keywords": [
"Serverless",

View File

@ -2,7 +2,7 @@ Type: Component
Name: fc-remote-invoke
Provider:
- 其它
Version: 0.0.9
Version: 0.0.10
Description: 初始化component模板
HomePage: https://www.serverless-devs.com
Tags: #标签详情

View File

@ -71,8 +71,10 @@ export default [
{
header: 'Examples with Yaml',
content: [
'$ s exec -- invoke --invocation-type sync --event [payload]',
'$ s exec -- invoke --invocation-type async --event-file [path]',
'$ s invoke',
'$ s <ProjectName> invoke',
'$ s exec -- invoke --invocation-type sync --event <payload>',
'$ s exec -- invoke --event-file <file-path>',
'$ s exec -- invoke --event-stdin',
],
},
@ -80,16 +82,16 @@ export default [
header: 'Examples with CLI',
content: [
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event [payload]',
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event <payload>',
},
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-file [path]',
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-file <file-path>',
},
{
example: '$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-stdin',
},
{
example: 'You also can refer to the usage of fc-api and execute [s cli fc-api -h] for help. $ s cli fc-api invokeFunction -h',
example: '\nYou also can refer to the usage of fc-api and execute [s cli fc-api -h] for help. $ s cli fc-api invokeFunction -h',
},
],
},