Browse Source

feat(mix): autocomplete `format` command (#13012)

Robert Dober 1 month ago
parent
commit
bea0dd2ca0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      plugins/mix/_mix

+ 10 - 0
plugins/mix/_mix

@@ -146,6 +146,16 @@ case $state in
       (help)
          _arguments ':feature:__task_list'
          ;;
+      (format)
+        _arguments -C \
+          '--check-formatted' \
+          '--dot-formatter' \
+          '--dry-run' \
+          '--force' \
+          '--migrate' \
+          '--no-exit' \
+          '*::file:_files'
+          ;;
       (test)
          _files
          ;;