From f9d2bbbcf2d475a71bbf55076b55a80c94d1cc84 Mon Sep 17 00:00:00 2001 From: davidwells Date: Fri, 24 Feb 2017 15:51:21 -0800 Subject: [PATCH] update headers for doc search --- docs/providers/aws/cli-reference/config-credentials.md | 2 +- docs/providers/aws/cli-reference/create.md | 2 +- docs/providers/aws/cli-reference/deploy-function.md | 2 +- docs/providers/aws/cli-reference/deploy-list.md | 2 +- docs/providers/aws/cli-reference/deploy.md | 2 +- docs/providers/aws/cli-reference/info.md | 2 +- docs/providers/aws/cli-reference/install.md | 2 +- docs/providers/aws/cli-reference/invoke-local.md | 2 +- docs/providers/aws/cli-reference/invoke.md | 2 +- docs/providers/aws/cli-reference/logs.md | 2 +- docs/providers/aws/cli-reference/metrics.md | 2 +- docs/providers/aws/cli-reference/remove.md | 2 +- docs/providers/aws/cli-reference/rollback.md | 2 +- docs/providers/aws/guide/credentials.md | 2 +- docs/providers/aws/guide/deploying.md | 2 +- docs/providers/aws/guide/events.md | 2 +- docs/providers/aws/guide/functions.md | 2 +- docs/providers/aws/guide/installation.md | 2 +- docs/providers/aws/guide/intro.md | 2 +- docs/providers/aws/guide/packaging.md | 2 +- docs/providers/aws/guide/resources.md | 2 +- docs/providers/azure/cli-reference/deploy-function.md | 4 ++-- docs/providers/azure/cli-reference/deploy.md | 2 +- docs/providers/azure/cli-reference/install.md | 2 +- docs/providers/azure/cli-reference/invoke.md | 8 ++++---- docs/providers/azure/cli-reference/logs.md | 3 +-- docs/providers/azure/cli-reference/remove.md | 6 +++--- .../openwhisk/cli-reference/config-credentials.md | 4 ++-- docs/providers/openwhisk/cli-reference/create.md | 2 +- docs/providers/openwhisk/cli-reference/deploy-function.md | 4 ++-- docs/providers/openwhisk/cli-reference/deploy.md | 2 +- docs/providers/openwhisk/cli-reference/info.md | 4 ++-- docs/providers/openwhisk/cli-reference/install.md | 2 +- docs/providers/openwhisk/cli-reference/invoke-local.md | 4 ++-- docs/providers/openwhisk/cli-reference/invoke.md | 8 ++++---- docs/providers/openwhisk/cli-reference/logs.md | 2 +- docs/providers/openwhisk/cli-reference/remove.md | 4 ++-- 37 files changed, 51 insertions(+), 52 deletions(-) diff --git a/docs/providers/aws/cli-reference/config-credentials.md b/docs/providers/aws/cli-reference/config-credentials.md index e677c0779..085966d09 100644 --- a/docs/providers/aws/cli-reference/config-credentials.md +++ b/docs/providers/aws/cli-reference/config-credentials.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/config-credentials) -# Config Credentials +# AWS - Config Credentials ```bash serverless config credentials --provider provider --key key --secret secret diff --git a/docs/providers/aws/cli-reference/create.md b/docs/providers/aws/cli-reference/create.md index 1c4d3c021..209ddccef 100644 --- a/docs/providers/aws/cli-reference/create.md +++ b/docs/providers/aws/cli-reference/create.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/create) -# Create +# AWS - Create Creates a new service in the current working directory based on the provided template. diff --git a/docs/providers/aws/cli-reference/deploy-function.md b/docs/providers/aws/cli-reference/deploy-function.md index 986c1ee72..90c632ffe 100644 --- a/docs/providers/aws/cli-reference/deploy-function.md +++ b/docs/providers/aws/cli-reference/deploy-function.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/deploy-function) -# Deploy Function +# AWS - Deploy Function The `sls deploy function` command deploys an individual function without AWS CloudFormation. This command simply swaps out the zip file that your CloudFormation stack is pointing toward. This is a much faster way of deploying changes in code. diff --git a/docs/providers/aws/cli-reference/deploy-list.md b/docs/providers/aws/cli-reference/deploy-list.md index edbbfa10a..8944a7b61 100644 --- a/docs/providers/aws/cli-reference/deploy-list.md +++ b/docs/providers/aws/cli-reference/deploy-list.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/deploy-list) -# Deploy List +# AWS - Deploy List The `sls deploy list` command will list your recent deployments available in your S3 deployment bucket. It will use stage and region from the provider config and show the timestamp of each deployment so you can roll back if necessary using `sls rollback`. diff --git a/docs/providers/aws/cli-reference/deploy.md b/docs/providers/aws/cli-reference/deploy.md index 35c94e18e..dc9f80473 100644 --- a/docs/providers/aws/cli-reference/deploy.md +++ b/docs/providers/aws/cli-reference/deploy.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/deploy) -# Deploy +# AWS - deploy The `sls deploy` command deploys your entire service via CloudFormation. Run this command when you have made infrastructure changes (i.e., you edited `serverless.yml`). Use `serverless deploy function -f myFunction` when you have made code changes and you want to quickly upload your updated code to AWS Lambda. diff --git a/docs/providers/aws/cli-reference/info.md b/docs/providers/aws/cli-reference/info.md index e599b576d..0fcee0832 100644 --- a/docs/providers/aws/cli-reference/info.md +++ b/docs/providers/aws/cli-reference/info.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/info) -# Info +# AWS - Info Displays information about the deployed service. diff --git a/docs/providers/aws/cli-reference/install.md b/docs/providers/aws/cli-reference/install.md index ec72c4f34..b3755084d 100644 --- a/docs/providers/aws/cli-reference/install.md +++ b/docs/providers/aws/cli-reference/install.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/install) -# Install +# AWS - Install Installs a service from a GitHub URL in the current working directory. diff --git a/docs/providers/aws/cli-reference/invoke-local.md b/docs/providers/aws/cli-reference/invoke-local.md index 1549bc848..a41937305 100644 --- a/docs/providers/aws/cli-reference/invoke-local.md +++ b/docs/providers/aws/cli-reference/invoke-local.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/invoke-local) -# Invoke Local +# AWS - Invoke Local This runs your code locally by emulating the AWS Lambda environment. Please keep in mind, it's not a 100% perfect emulation, there may be some differences, but it works for the vast majority of users. We mock the `context` with simple mock data. diff --git a/docs/providers/aws/cli-reference/invoke.md b/docs/providers/aws/cli-reference/invoke.md index 5b88d2f58..034c3e32e 100644 --- a/docs/providers/aws/cli-reference/invoke.md +++ b/docs/providers/aws/cli-reference/invoke.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/invoke) -# Invoke +# AWS - Invoke Invokes deployed function. It allows to send event data to the function, read logs and display other important information of the function invocation. diff --git a/docs/providers/aws/cli-reference/logs.md b/docs/providers/aws/cli-reference/logs.md index b364e79ef..fd6107418 100644 --- a/docs/providers/aws/cli-reference/logs.md +++ b/docs/providers/aws/cli-reference/logs.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/logs) -# Logs +# AWS - Logs Lets you watch the logs of a specific function. diff --git a/docs/providers/aws/cli-reference/metrics.md b/docs/providers/aws/cli-reference/metrics.md index 64a3c98bf..19a732cea 100644 --- a/docs/providers/aws/cli-reference/metrics.md +++ b/docs/providers/aws/cli-reference/metrics.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/metrics) -# Metrics +# AWS - Metrics Lets you watch the metrics of a specific function. diff --git a/docs/providers/aws/cli-reference/remove.md b/docs/providers/aws/cli-reference/remove.md index 65aa190c6..5ca2c20da 100644 --- a/docs/providers/aws/cli-reference/remove.md +++ b/docs/providers/aws/cli-reference/remove.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/cli-reference/remove) -# Remove +# AWS - Remove The `sls remove` command will remove the deployed service, defined in your current working directory, from the provider. diff --git a/docs/providers/aws/cli-reference/rollback.md b/docs/providers/aws/cli-reference/rollback.md index 013677d9d..567ab89cd 100644 --- a/docs/providers/aws/cli-reference/rollback.md +++ b/docs/providers/aws/cli-reference/rollback.md @@ -11,7 +11,7 @@ layout: Doc -# Rollback +# AWS - Rollback Rollback the Serverless service to a specific deployment. diff --git a/docs/providers/aws/guide/credentials.md b/docs/providers/aws/guide/credentials.md index 70fb3575c..6dc936906 100644 --- a/docs/providers/aws/guide/credentials.md +++ b/docs/providers/aws/guide/credentials.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/credentials) -# Credentials +# AWS - Credentials The Serverless Framework needs access to your cloud provider's account so that it can create and manage resources on your behalf. diff --git a/docs/providers/aws/guide/deploying.md b/docs/providers/aws/guide/deploying.md index 221a0fe74..95f484095 100644 --- a/docs/providers/aws/guide/deploying.md +++ b/docs/providers/aws/guide/deploying.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/deploying) -# Deploying +# AWS - Deploying The Serverless Framework was designed to provision your AWS Lambda Functions, Events and infrastructure Resources safely and quickly. It does this via a couple of methods designed for different types of deployments. diff --git a/docs/providers/aws/guide/events.md b/docs/providers/aws/guide/events.md index c2109a624..e498538aa 100644 --- a/docs/providers/aws/guide/events.md +++ b/docs/providers/aws/guide/events.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/events) -# Events +# AWS - Events Simply put, events are the things that trigger your functions to run. diff --git a/docs/providers/aws/guide/functions.md b/docs/providers/aws/guide/functions.md index 6c4003106..401eb38ed 100644 --- a/docs/providers/aws/guide/functions.md +++ b/docs/providers/aws/guide/functions.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/functions) -# Functions +# AWS - Functions If you are using AWS as a provider, all *functions* inside the service are AWS Lambda functions. diff --git a/docs/providers/aws/guide/installation.md b/docs/providers/aws/guide/installation.md index 86a8686b7..638117230 100644 --- a/docs/providers/aws/guide/installation.md +++ b/docs/providers/aws/guide/installation.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/installation) -# Installation +# AWS - Installation ### Installing Node.js diff --git a/docs/providers/aws/guide/intro.md b/docs/providers/aws/guide/intro.md index a749ef3e0..dfb190472 100644 --- a/docs/providers/aws/guide/intro.md +++ b/docs/providers/aws/guide/intro.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/intro) -# Introduction +# AWS - Introduction The Serverless Framework helps you develop and deploy your AWS Lambda functions, along with the AWS infrastructure resources they require. It's a CLI that offers structure, automation and best practices out-of-the-box, allowing you to focus on building sophisticated, event-driven, serverless architectures, comprised of [Functions](#functions) and [Events](#events). diff --git a/docs/providers/aws/guide/packaging.md b/docs/providers/aws/guide/packaging.md index 7c47fe278..1b20554a3 100644 --- a/docs/providers/aws/guide/packaging.md +++ b/docs/providers/aws/guide/packaging.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/packaging) -# Packaging +# AWS - Packaging Sometimes you might like to have more control over your function artifacts and how they are packaged. diff --git a/docs/providers/aws/guide/resources.md b/docs/providers/aws/guide/resources.md index 90d04e75d..37a8c0fc7 100644 --- a/docs/providers/aws/guide/resources.md +++ b/docs/providers/aws/guide/resources.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/aws/guide/resources) -# Resources +# AWS - Resources If you are using AWS as a provider for your Service, all *Resources* are other AWS infrastructure resources which the AWS Lambda functions in your *Service* depend on, like AWS DynamoDB or AWS S3. diff --git a/docs/providers/azure/cli-reference/deploy-function.md b/docs/providers/azure/cli-reference/deploy-function.md index c6200be34..de18e32c6 100644 --- a/docs/providers/azure/cli-reference/deploy-function.md +++ b/docs/providers/azure/cli-reference/deploy-function.md @@ -2,7 +2,7 @@ title: Serverless Framework Commands - Azure Functions - Deploy Function menuText: Deploy Function menuOrder: 5 -description: Deploy your Azure Functions functions quickly +description: Deploy your Azure Functions functions quickly layout: Doc --> @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/deploy-function) -# Deploy Function +# Azure - Deploy Function The `sls deploy function` command deploys an individual function. This command simply compiles a deployment package with a single function handler. This is a much faster way of deploying changes in code. diff --git a/docs/providers/azure/cli-reference/deploy.md b/docs/providers/azure/cli-reference/deploy.md index 93a667dfc..3e963893c 100644 --- a/docs/providers/azure/cli-reference/deploy.md +++ b/docs/providers/azure/cli-reference/deploy.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/deploy) -# Deploy +# Azure - Deploy The `sls deploy` command deploys your entire service via the Azure Resource Manager API. Run this command when you have made service changes (i.e., you edited `serverless.yml`). Use `serverless deploy function -f myFunction` when you have made code changes and you want to quickly upload your updated code to Azure Functions. diff --git a/docs/providers/azure/cli-reference/install.md b/docs/providers/azure/cli-reference/install.md index c827eb50f..475d7d508 100644 --- a/docs/providers/azure/cli-reference/install.md +++ b/docs/providers/azure/cli-reference/install.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/install) -# Install +# Azure - Install Installs a service from a GitHub URL in the current working directory. diff --git a/docs/providers/azure/cli-reference/invoke.md b/docs/providers/azure/cli-reference/invoke.md index 565ac5fe0..36044baf2 100644 --- a/docs/providers/azure/cli-reference/invoke.md +++ b/docs/providers/azure/cli-reference/invoke.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/invoke) -# Invoke +# Azure - Invoke Invokes deployed function. It allows to send event data to the function, read logs and display other important information of the function invocation. @@ -30,7 +30,7 @@ serverless invoke --function functionName ### Azure Functions ```bash -serverless invoke --function functionName +serverless invoke --function functionName ``` This example will invoke your deployed function on the configured platform @@ -39,13 +39,13 @@ endpoint. This will output the result of the invocation in your terminal. #### Function invocation with data ```bash -serverless invoke --function functionName --data '{"name": "Bernie"}' +serverless invoke --function functionName --data '{"name": "Bernie"}' ``` #### Function invocation with data from standard input ```bash -node dataGenerator.js | serverless invoke --function functionName +node dataGenerator.js | serverless invoke --function functionName ``` #### Function invocation with data passing diff --git a/docs/providers/azure/cli-reference/logs.md b/docs/providers/azure/cli-reference/logs.md index 76d6f472a..b54303d30 100644 --- a/docs/providers/azure/cli-reference/logs.md +++ b/docs/providers/azure/cli-reference/logs.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/logs) -# Logs +# Azure - Logs Lets you watch the logs of a specific function. @@ -30,4 +30,3 @@ serverless logs -f hello serverless logs -f hello ``` This will stream all future logs for a given Function. - diff --git a/docs/providers/azure/cli-reference/remove.md b/docs/providers/azure/cli-reference/remove.md index f5a081737..20d26b3df 100644 --- a/docs/providers/azure/cli-reference/remove.md +++ b/docs/providers/azure/cli-reference/remove.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/remove) -# Remove +# Azure - Remove The `sls remove` command will remove the deployed service, defined in your current working directory, from the provider. @@ -23,10 +23,10 @@ serverless remove ## Examples -### Removal of service +### Removal of service ```bash -serverless remove +serverless remove ``` This example will remove the deployed service of your current working directory from the current platform endpoint. diff --git a/docs/providers/openwhisk/cli-reference/config-credentials.md b/docs/providers/openwhisk/cli-reference/config-credentials.md index 401a6b14f..c14d1b38a 100644 --- a/docs/providers/openwhisk/cli-reference/config-credentials.md +++ b/docs/providers/openwhisk/cli-reference/config-credentials.md @@ -10,10 +10,10 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/config-credentials) -# Config Credentials +# OpenWhisk - Config Credentials ```bash -serverless config credentials --provider provider --apihost apihost --auth auth +serverless config credentials --provider provider --apihost apihost --auth auth ``` ## Options diff --git a/docs/providers/openwhisk/cli-reference/create.md b/docs/providers/openwhisk/cli-reference/create.md index 7803c0bad..a740beb6b 100644 --- a/docs/providers/openwhisk/cli-reference/create.md +++ b/docs/providers/openwhisk/cli-reference/create.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/create) -# Create +# OpenWhisk - Create Creates a new service in the current working directory based on the provided template. diff --git a/docs/providers/openwhisk/cli-reference/deploy-function.md b/docs/providers/openwhisk/cli-reference/deploy-function.md index ae4c616ac..b8713a6de 100644 --- a/docs/providers/openwhisk/cli-reference/deploy-function.md +++ b/docs/providers/openwhisk/cli-reference/deploy-function.md @@ -2,7 +2,7 @@ title: Serverless Framework Commands - Apache OpenWhisk - Deploy Function menuText: Deploy Function menuOrder: 5 -description: Deploy your Apache OpenWhisk functions quickly +description: Deploy your Apache OpenWhisk functions quickly layout: Doc --> @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/deploy-function) -# Deploy Function +# OpenWhisk - Deploy Function The `sls deploy function` command deploys an individual function. This command simply compiles a deployment package with a single function handler. This is a much faster way of deploying changes in code. diff --git a/docs/providers/openwhisk/cli-reference/deploy.md b/docs/providers/openwhisk/cli-reference/deploy.md index c1d63d5ae..30c676e0c 100644 --- a/docs/providers/openwhisk/cli-reference/deploy.md +++ b/docs/providers/openwhisk/cli-reference/deploy.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/deploy) -# Deploy +# OpenWhisk - Deploy The `sls deploy` command deploys your entire service via the Apache OpenWhisk platform API. Run this command when you have made service changes (i.e., you edited `serverless.yml`). Use `serverless deploy function -f myFunction` when you have made code changes and you want to quickly upload your updated code to Apache OpenWhisk. diff --git a/docs/providers/openwhisk/cli-reference/info.md b/docs/providers/openwhisk/cli-reference/info.md index 0fb8e17f0..01a290767 100644 --- a/docs/providers/openwhisk/cli-reference/info.md +++ b/docs/providers/openwhisk/cli-reference/info.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/info) -# Info +# OpenWhisk - Info Displays information about the deployed service. @@ -52,5 +52,5 @@ my-hello-world-event-rule endpoints: https://xyz1234-gws.api-gw.mybluemix.net -/hello-world GET -> hello-world +/hello-world GET -> hello-world ``` diff --git a/docs/providers/openwhisk/cli-reference/install.md b/docs/providers/openwhisk/cli-reference/install.md index 2cd8b8a80..7ee129806 100644 --- a/docs/providers/openwhisk/cli-reference/install.md +++ b/docs/providers/openwhisk/cli-reference/install.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/install) -# Install +# OpenWhisk - Install Installs a service from a GitHub URL in the current working directory. diff --git a/docs/providers/openwhisk/cli-reference/invoke-local.md b/docs/providers/openwhisk/cli-reference/invoke-local.md index c6f078f06..ae278476d 100644 --- a/docs/providers/openwhisk/cli-reference/invoke-local.md +++ b/docs/providers/openwhisk/cli-reference/invoke-local.md @@ -10,9 +10,9 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/invoke-local) -# Invoke Local +# OpenWhisk - Invoke Local -This runs your code locally by emulating the Apache OpenWhisk environment. Please keep in mind, it's not a 100% perfect emulation, there may be some differences, but it works for the vast majority of users. +This runs your code locally by emulating the Apache OpenWhisk environment. Please keep in mind, it's not a 100% perfect emulation, there may be some differences, but it works for the vast majority of users. ```bash serverless invoke local --function functionName diff --git a/docs/providers/openwhisk/cli-reference/invoke.md b/docs/providers/openwhisk/cli-reference/invoke.md index 5bdebe8a4..224e5ed81 100644 --- a/docs/providers/openwhisk/cli-reference/invoke.md +++ b/docs/providers/openwhisk/cli-reference/invoke.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/invoke) -# Invoke +# OpenWhisk - Invoke Invokes deployed function. It allows to send event data to the function, read logs and display other important information of the function invocation. @@ -47,7 +47,7 @@ root directory of the service. The json file should have event and context prope ### Apache OpenWhisk ```bash -serverless invoke --function functionName +serverless invoke --function functionName ``` This example will invoke your deployed function on the configured platform @@ -56,13 +56,13 @@ endpoint. This will output the result of the invocation in your terminal. #### Function invocation with data ```bash -serverless invoke --function functionName --data '{"name": "Bernie"}' +serverless invoke --function functionName --data '{"name": "Bernie"}' ``` #### Function invocation with data from standard input ```bash -node dataGenerator.js | serverless invoke --function functionName +node dataGenerator.js | serverless invoke --function functionName ``` #### Function invocation with logging diff --git a/docs/providers/openwhisk/cli-reference/logs.md b/docs/providers/openwhisk/cli-reference/logs.md index 73ef2dba6..9495d0009 100644 --- a/docs/providers/openwhisk/cli-reference/logs.md +++ b/docs/providers/openwhisk/cli-reference/logs.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/logs) -# Logs +# OpenWhisk - Logs Lets you watch the logs of a specific function. diff --git a/docs/providers/openwhisk/cli-reference/remove.md b/docs/providers/openwhisk/cli-reference/remove.md index c6894fc3d..a06923f96 100644 --- a/docs/providers/openwhisk/cli-reference/remove.md +++ b/docs/providers/openwhisk/cli-reference/remove.md @@ -10,7 +10,7 @@ layout: Doc ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/remove) -# Remove +# OpenWhisk - Remove The `sls remove` command will remove the deployed service, defined in your current working directory, from the provider. @@ -26,7 +26,7 @@ serverless remove ### Removal of service in specific stage and region ```bash -serverless remove +serverless remove ``` This example will remove the deployed service of your current working directory from the current platform endpoint.