11# ## YamlMime:AzureCLIGroup
22uid : swa
33name : 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.
254directCommands :
265- uid : swa_login
276 name : swa login
@@ -62,6 +41,19 @@ directCommands:
6241 summary : Use the operating system native keychain for persistent credentials. The default is `true`.
6342 - name : --no-use-keychain, -nu
6443 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.
6557- uid : swa_init
6658 name : swa init
6759 summary : Configures a new Azure Static Web Apps project.
@@ -105,6 +97,19 @@ directCommands:
10597 optionalParameters :
10698 - name : --yes, -y
10799 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.
108113- uid : swa_start
109114 name : swa start
110115 summary : Start the Azure Static Web Apps emulator from a directory or bind to a running dev server.
@@ -207,7 +212,6 @@ directCommands:
207212 ```azstatic-cli
208213 swa start ./src --data-api-location swa-db-connections
209214 ```
210-
211215 examples :
212216 - summary : Start the application with defaults.
213217 syntax : swa start
@@ -250,6 +254,19 @@ directCommands:
250254 summary : Open the browser to the dev server. Default is false.
251255 - name : --func-args, -f <FUNCTION_ARGUMENTS>
252256 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.
253270- uid : swa_build
254271 name : swa build
255272 status : GA
@@ -287,6 +304,19 @@ directCommands:
287304 summary : Builds the API application.
288305 - name : --auto
289306 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.
290320- uid : swa_deploy
291321 name : swa deploy
292322 status : GA
@@ -444,6 +474,19 @@ directCommands:
444474 syntax : swa deploy --print-token
445475 - summary : Deploy to a specific environment
446476 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.
447490- uid : swa_db
448491 name : swa db
449492 status : GA
@@ -469,3 +512,25 @@ directCommands:
469512 summary : The container of your cosmosdb account you want to connect.
470513 - name : --help, -h
471514 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