You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/reference/cli-commands/index.mdx
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,18 +47,23 @@ All commands can be prefixed with [AWS CLI environment variables](https://docs.a
47
47
48
48
Sandbox enables you to develop your backend alongside your frontend's development server. Run `npx ampx sandbox` to deploy to your personal cloud sandbox, this command will automatically watch for changes in the `amplify/` folder, and redeploy each time you save a file.
49
49
50
+
### Logs Streaming
51
+
52
+
-`--stream-function-logs` (_boolean_) - Whether to stream function execution logs. (default: false)
53
+
-`--logs-filter` (_array_) - Regex pattern to filter logs from only matched functions. E.g. to stream logs for a function, specify it's name, and to stream logs from all functions starting with auth specify 'auth' (default: Stream all logs)
54
+
-`--logs-out-file` (_string_) - File to append the streaming logs. The file is created if it does not exist. (default: stdout)
55
+
50
56
### Options
51
57
58
+
-`--debug` (_boolean_) - Print debug logs to the console (default: false)
52
59
-`--dir-to-watch` (_string_) - Directory to watch for file changes. All subdirectories and files will be included. Defaults to the amplify directory.
53
60
-`--exclude` (_string[]_) - An array of paths or glob patterns to ignore. Paths can be relative or absolute and can either be files or directories.
54
61
-`--identifier` (_string_) - An optional name to distinguish between different sandbox environments. Default is the name of the system user executing the process
62
+
-`--once` (_boolean_) - Execute a single sandbox deployment without watching for future file changes.
55
63
-`--outputs-out-dir` (_string_) - A path to a directory where the client config file is written. If not provided, defaults to the working directory of the current process.
56
64
-`--outputs-format` (_string_) - Format in which the client config file is written (choices: `json`, `dart`).
57
65
-`--outputs-version` (_string_) - Version of the configuration. Version 0 represents classic amplify-cli config file amplify-configuration and 1 represents newer config file amplify_outputs (choices: `0`, `1`).
58
66
-`--profile` (_string_) - An AWS profile name.
59
-
-`--stream-function-logs` (_boolean_) - Whether to stream function execution logs. (default: false)
60
-
-`--logs-filter` (_string[]_) - Regex pattern to filter logs from only matched functions. E.g. to stream logs for a function, specify it's name, and to stream logs from all functions starting with auth specify 'auth' (default: Stream all logs)
61
-
-`--logs-out-file` (_string_) - File to append the streaming logs. The file is created if it does not exist. (default: stdout)
0 commit comments