Update flutter completion for version 3.10.0

This commit is contained in:
Shohei YOSHIDA 2023-05-11 22:21:15 +09:00
parent 64ec7994dc
commit 90471c3877
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@
# Description
# -----------
#
# Completion script for the Flutter.io sdk's cli tool 3.7.0 (https://flutter.dev)
# Completion script for the Flutter.io sdk's cli tool 3.10.0 (https://flutter.dev)
#
# ------------------------------------------------------------------------------
# Authors
@ -631,6 +631,7 @@ _flutter_build() {
(macos)
opts+=(
'--build-name=[A string used as the version number shown to users]:build_name'
'--config-only[Update the project configuration without performing a build]'
)
;;
(web)
@ -642,6 +643,9 @@ _flutter_build() {
'(--no-source-maps)--source-maps[Generate a sourcemap file]'
'(--source-maps)--no-source-maps[Do not generate a sourcemap file]'
'--pwa-strategy=The caching strategy to be used by the PWA service worker: :(none offline-first)'
'--web-renderer[The renderer implementation to use when building for the web]: :(auto canvaskit html)'
'(--no-web-resources-cdn)--web-resources-cdn[Use Web static resources hosted on a CDN]'
'(--web-resources-cdn)--no-web-resources-cdn[Do not Web static resources hosted on a CDN]'
'--base-href[Overrides the href attribute of the base tag in web/index.html]'
'--dart2js-optimization=[Sets the optimization level used for Dart compilation to JavaScript]: :(O0 O1 O2 O3 O4)'
'--dump-info[Passes "--dump-info" to the JavaScript compiler]'