1
1
# ## YamlMime:AzureCLIGroup
2
2
uid : swa
3
3
name : swa
4
- commands :
5
- - swa_login
6
- - swa_build
7
- - swa_start
8
- - swa_deploy
9
- - swa_db
10
- metadata :
11
- description : Azure Static Web Apps CLI
12
- globalParameters :
13
- - name : --version, -v
14
- summary : Display the version number.
15
- - name : --verbose, --V [level]
16
- summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
17
- - name : --config, -c [path]
18
- summary : Path to the swa-cli.config.json file.
19
- - name : --config-name, -cn
20
- summary : Configuration used by the CLI.
21
- - name : --print-config, -g
22
- summary : Print all resolved options. Default is `false`.
23
- - name : --help, -h
24
- summary : Show context-sensitive help.
25
4
directCommands :
26
5
- uid : swa_login
27
6
name : swa login
@@ -62,6 +41,19 @@ directCommands:
62
41
summary : Use the operating system native keychain for persistent credentials. The default is `true`.
63
42
- name : --no-use-keychain, -nu
64
43
summary : Disable use of the operating system native keychain.
44
+ globalParameters :
45
+ - name : --version, -v
46
+ summary : Display the version number.
47
+ - name : --verbose, --V [level]
48
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
49
+ - name : --config, -c [path]
50
+ summary : Path to the swa-cli.config.json file.
51
+ - name : --config-name, -cn
52
+ summary : Configuration used by the CLI.
53
+ - name : --print-config, -g
54
+ summary : Print all resolved options. Default is `false`.
55
+ - name : --help, -h
56
+ summary : Show context-sensitive help.
65
57
- uid : swa_init
66
58
name : swa init
67
59
summary : Configures a new Azure Static Web Apps project.
@@ -105,6 +97,19 @@ directCommands:
105
97
optionalParameters :
106
98
- name : --yes, -y
107
99
summary : Answers "yes" to all prompts, which disables interactive mode. Default is `false`.
100
+ globalParameters :
101
+ - name : --version, -v
102
+ summary : Display the version number.
103
+ - name : --verbose, --V [level]
104
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
105
+ - name : --config, -c [path]
106
+ summary : Path to the swa-cli.config.json file.
107
+ - name : --config-name, -cn
108
+ summary : Configuration used by the CLI.
109
+ - name : --print-config, -g
110
+ summary : Print all resolved options. Default is `false`.
111
+ - name : --help, -h
112
+ summary : Show context-sensitive help.
108
113
- uid : swa_start
109
114
name : swa start
110
115
summary : Start the Azure Static Web Apps emulator from a directory or bind to a running dev server.
@@ -207,7 +212,6 @@ directCommands:
207
212
```azstatic-cli
208
213
swa start ./src --data-api-location swa-db-connections
209
214
```
210
-
211
215
examples :
212
216
- summary : Start the application with defaults.
213
217
syntax : swa start
@@ -250,6 +254,19 @@ directCommands:
250
254
summary : Open the browser to the dev server. Default is false.
251
255
- name : --func-args, -f <FUNCTION_ARGUMENTS>
252
256
summary : Pass additional arguments to the `func start` command.
257
+ globalParameters :
258
+ - name : --version, -v
259
+ summary : Display the version number.
260
+ - name : --verbose, --V [level]
261
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
262
+ - name : --config, -c [path]
263
+ summary : Path to the swa-cli.config.json file.
264
+ - name : --config-name, -cn
265
+ summary : Configuration used by the CLI.
266
+ - name : --print-config, -g
267
+ summary : Print all resolved options. Default is `false`.
268
+ - name : --help, -h
269
+ summary : Show context-sensitive help.
253
270
- uid : swa_build
254
271
name : swa build
255
272
status : GA
@@ -287,6 +304,19 @@ directCommands:
287
304
summary : Builds the API application.
288
305
- name : --auto
289
306
summary : Automatically detects how to build your front-end and API applications. Default is `false`.
307
+ globalParameters :
308
+ - name : --version, -v
309
+ summary : Display the version number.
310
+ - name : --verbose, --V [level]
311
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
312
+ - name : --config, -c [path]
313
+ summary : Path to the swa-cli.config.json file.
314
+ - name : --config-name, -cn
315
+ summary : Configuration used by the CLI.
316
+ - name : --print-config, -g
317
+ summary : Print all resolved options. Default is `false`.
318
+ - name : --help, -h
319
+ summary : Show context-sensitive help.
290
320
- uid : swa_deploy
291
321
name : swa deploy
292
322
status : GA
@@ -444,6 +474,19 @@ directCommands:
444
474
syntax : swa deploy --print-token
445
475
- summary : Deploy to a specific environment
446
476
syntax : swa deploy --env production
477
+ globalParameters :
478
+ - name : --version, -v
479
+ summary : Display the version number.
480
+ - name : --verbose, --V [level]
481
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
482
+ - name : --config, -c [path]
483
+ summary : Path to the swa-cli.config.json file.
484
+ - name : --config-name, -cn
485
+ summary : Configuration used by the CLI.
486
+ - name : --print-config, -g
487
+ summary : Print all resolved options. Default is `false`.
488
+ - name : --help, -h
489
+ summary : Show context-sensitive help.
447
490
- uid : swa_db
448
491
name : swa db
449
492
status : GA
@@ -469,3 +512,25 @@ directCommands:
469
512
summary : The container of your cosmosdb account you want to connect.
470
513
- name : --help, -h
471
514
summary : Display help for command.
515
+ globalParameters :
516
+ - name : --version, -v
517
+ summary : Display the version number.
518
+ - name : --verbose, --V [level]
519
+ summary : Enable verbose output. Level values include `silly`, `info`, `log` (default), and `silent`.
520
+ - name : --config, -c [path]
521
+ summary : Path to the swa-cli.config.json file.
522
+ - name : --config-name, -cn
523
+ summary : Configuration used by the CLI.
524
+ - name : --print-config, -g
525
+ summary : Print all resolved options. Default is `false`.
526
+ - name : --help, -h
527
+ summary : Show context-sensitive help.
528
+ commands :
529
+ - swa_login
530
+ - swa_init
531
+ - swa_build
532
+ - swa_start
533
+ - swa_deploy
534
+ - swa_db
535
+ metadata :
536
+ description : Azure Static Web Apps CLI
0 commit comments