update dart completion to version 3.11

This commit is contained in:
Shohei YOSHIDA 2026-02-12 15:49:35 +09:00
parent 46c88449e6
commit d4af3659cc
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for dart 3.9.0 (https://dart.dev/) # Completion script for dart 3.11.0 (https://dart.dev/)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -362,6 +362,7 @@ _dart_pub() {
(add|get|remove|upgrade) (add|get|remove|upgrade)
opts+=( opts+=(
'--precompile[Build executables in immediate dependencies]' '--precompile[Build executables in immediate dependencies]'
'--no-example[Do not run "example/" if it exists]'
) )
;| ;|
(get) (get)
@ -373,6 +374,7 @@ _dart_pub() {
opts+=( opts+=(
'(-f --force)'{-f,--force}'[Publish without confirmation if there are no errors]' '(-f --force)'{-f,--force}'[Publish without confirmation if there are no errors]'
'--skip-validation[Publish without validation and resolution]' '--skip-validation[Publish without validation and resolution]'
'--ignore-warnings[Do not treat warnings as fatal]'
) )
;| ;|
(upgrade) (upgrade)