Browse Source

Move log example, remove metrics and add invoke

David Heimann 7 years ago
parent
commit
5496cd9478
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/common/serverless.md

+ 4 - 4
pages/common/serverless.md

@@ -19,10 +19,10 @@
 
 `serverless info`
 
-- Follow the logs for a project:
+- Invoke a deployed function:
 
-`serverless logs -t`
+`serverless invoke -f {{function_name}}`
 
-- Display metrics for a function:
+- Follow the logs for a project:
 
-`serverless metrics -f {{function_name}}`
+`serverless logs -t`