Files
tty7/assets/completions/dart.json
T
l0ng-ai 22e1ab1694 tty7: a GPU-rendered, daemon-backed terminal in pure Rust
tty7 is split into two Rust processes: a persistent daemon that owns the
shells and a GPU-rendered client that talks to it over a local socket.
Because the shells live in the daemon, quitting and reopening the app
leaves the session intact — detach and reattach, no tmux required.

- Persistent sessions — the daemon holds the PTYs and child processes, so
  closing a window or swapping in a new build never takes a shell down.
- Performance — an 11 MB `cat` completes in 95 ms and DOOM-fire renders at
  888 fps; the daemon drains the PTY at device speed off the render path.
- Shell-aware — new tabs and splits open in the current working directory;
  zsh, bash, fish, and PowerShell are set up automatically.
- Enhanced prompt — inline completion, syntax highlighting, history, and
  in-terminal search, with rich flag/subcommand signatures for common tools.
- Tabs, resizable splits, a command palette, click-to-open links, desktop
  notifications, eight themes, and CJK/IME input.

Native builds for macOS, Windows, and Linux.
Built on Zed's gpui and Alacritty's VT core.
2026-07-06 21:54:27 +08:00

1 line
44 KiB
JSON

{"description":"A command-line utility for Dart development","options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--verbose"],"description":"Print verbose output","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--version"],"description":"Current Dart version","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-analytics"],"description":"Enables analytics","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--disable-analytics"],"description":"Disables analytics","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["analyze"],"description":"Analyze Dart code in a directory","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fatal-infos"],"description":"Treat info level issues as fatal","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fatal-warnings"],"description":"Treat warning level issues as fatal (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-fatal-warnings"],"description":"Do not treat warning level issues as fatal (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"directory","description":"Dart project directory to analyze","optional":false,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["compile"],"description":"Compile Dart to various formats","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["aot-snapshot"],"description":"Compile Dart to an AOT snapshot","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Write the output to <file-name>","args":[{"name":"dart-entry-point","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-D","--define"],"description":"Define an environment declaration. To specify multiple declarations, use multiple options or use commas to separate key-value pairs. For example: dart compile aot-snapshot -D a=1,b=2 main.dart","args":[{"name":"key-value-pairs","description":"Key-value pairs to define in Dart script","optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-asserts"],"description":"Enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-p","--packages"],"description":"Get package locations from the specified file instead of .packages. <path> can be relative or absolute","args":[{"name":"args-path","description":"The path to draw packages from","optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--no-sound-null-safety","--sound-null-safety"],"description":"Respect the nullability of types at runtime","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-S","--save-debugging-info"],"description":"Remove debugging information from the output and save it separately to the specified file.. <path> can be relative or absolute","args":[{"name":"debug-info-path","description":"The path to write debugging info to","optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"dart-entry-point","description":"The Dart file containing the main function","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["exe"],"description":"Compile Dart to a self-contained executable","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Write the output to <file-name>","args":[{"name":"dart-entry-point","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-D","--define"],"description":"Define an environment declaration. To specify multiple declarations, use multiple options or use commas to separate key-value pairs. For example: dart compile aot-snapshot -D a=1,b=2 main.dart","args":[{"name":"key-value-pairs","description":"Key-value pairs to define in Dart script","optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-asserts"],"description":"Enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-p","--packages"],"description":"Get package locations from the specified file instead of .packages. <path> can be relative or absolute","args":[{"name":"args-path","description":"The path to draw packages from","optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--no-sound-null-safety","--sound-null-safety"],"description":"Respect the nullability of types at runtime","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-S","--save-debugging-info"],"description":"Remove debugging information from the output and save it separately to the specified file.. <path> can be relative or absolute","args":[{"name":"debug-info-path","description":"The path to write debugging info to","optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"dart-entry-point","description":"The Dart file containing the main function","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["jit-snapshot"],"description":"Compile Dart to a JIT snapshot","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Write the output to <file-name>","args":[{"name":"dart-entry-point","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"dart-entry-point","description":"The Dart file containing the main function","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["js"],"description":"Compile Dart to JavaScript","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Write the output to <file-name>","args":[{"name":"dart-entry-point","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-m","--minified"],"description":"Generate minified output","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-D","--define"],"description":"Define an environment declaration. To specify multiple declarations, use multiple options or use commas to separate key-value pairs. For example: dart compile aot-snapshot -D a=1,b=2 main.dart","args":[{"name":"key-value-pairs","description":"Key-value pairs to define in Dart script","optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"dart-entry-point","description":"The Dart file containing the main function","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["kernel"],"description":"Compile Dart to a kernel snapshot","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Write the output to <file-name>","args":[{"name":"dart-entry-point","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"dart-entry-point","description":"The Dart file containing the main function","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]}]},{"names":["create"],"description":"Create a new Dart project","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-t","--template"],"description":"The project template to use","args":[{"name":"template-type","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["console"],"description":"A simple command-line application"},{"names":["package"],"description":"A starting point for Dart libraries or applications"},{"names":["server-shelf"],"description":"A web server built using package:shelf"},{"names":["web"],"description":"A web app that uses only core Dart libraries"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--pub"],"description":"Run 'pub get' after the project has been created. Default to on","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-pub"],"description":"Do not run 'pub get' after the project has been created. Default to on","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--force"],"description":"Force project generation, even if the target directory already exists","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["fix"],"description":"Apply automated fixes to Dart source code","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Preview the proposed changes but make no changes","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--apply"],"description":"Apply the proposed changes","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["format"],"description":"Idiomatically format Dart source code","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--verbose"],"description":"Show all options and flags with --help","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o","--output"],"description":"Set where to write formatted output","args":[{"name":"json","description":"Print code and selection as JSON","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"none","description":"Discard output","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"show","description":"Print code to terminal","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"write","description":"Overwrite formatted files on disk","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]},{"name":"--show","description":"Set which filenames to print","optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"All visited files and directories"},{"names":["changed"],"description":"Nly the names of files whose formatting is changed"},{"names":["none"],"description":"No file names or directories"}],"generators":[]},{"name":"--summary","description":"Show the specified summary after formatting","optional":false,"variadic":false,"template":[],"suggestions":[{"names":["line"],"description":"Single-line summary"},{"names":["none"],"description":"No summary"},{"names":["profile"],"description":"How long it took to format each file"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--set-exit-if-changed"],"description":"Return exist code 1 if there are any formatting changes","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix"],"description":"Apply all style fixes","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-doc-comments"],"description":"Use triple slash for documentation comments","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-function-typedefs"],"description":"Use new syntax for function type typedefs","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-named-default-separator"],"description":"Use '=' as the separator before named parameter default values","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-optional-const"],"description":"Remove 'const' keyword inside constant context","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-optional-new"],"description":"Remove 'new' keyword","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--fix-single-cascade-statements"],"description":"Remove unnecessary single cascades from expression statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-l","--line-length"],"description":"Wrap lines longer than this. Defaults to 80","args":[{"name":"line-length","description":"Line length to wrap","optional":false,"variadic":false,"template":[],"suggestions":[{"names":["80"],"description":null},{"names":["120"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-i","--indent"],"description":"Add this many spaces of leading indentation","args":[{"name":"number-of-spaces","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--follow-links"],"description":"Follow links to files and directories. If unset, links will be ignored","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--version"],"description":"Show dart_style version","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--selection"],"description":"Track selection (given as 'start:length') through formatting","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--stdin-name"],"description":"Use this path in error messages when input is read from stdin. (defaults to 'stdin')","args":[{"name":"name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"files-or-directory","description":"The files or directories to format","optional":false,"variadic":false,"template":["filepaths","folders"],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["migrate"],"description":"Perform null safety migration on a project","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--verbose"],"description":"Show additional command output","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--apply-changes"],"description":"Apply the proposed null safety changes to the files on disk","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--ignore-errors"],"description":"Attempt to perform null safety analysis even if the project has analysis errors","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--skip-import-check"],"description":"Go ahead with migration even if some imported files have not yet been migrated","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--web-preview"],"description":"Show and interactive preview of the proposed null safety changes in a browser window. (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-web-preview"],"description":"Do not show and interactive preview of the proposed null safety changes in a browser window. (defaults to off)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--preview-hostname"],"description":"Run the preview server on the specified hostname. If not specified, 'localhost' is used. Use 'any' to specify IPv6.any or IPv4.any. (defaults to the 'localhost')","args":[{"name":"host","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--preview-port"],"description":"Run the preview server on the specified port. If not specified, dynamically allocate a port","args":[{"name":"port","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--summary"],"description":"Output a machine-readable summary of migration changes","args":[{"name":"path","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--ignore-exceptions"],"description":"Attempt to perform null safety analysis even if exceptions occur","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--sdk-path"],"description":"The path to the Dart SDK","args":[{"name":"sdk-path","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["pub"],"description":"Work with packages","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--trace"],"description":"Print debugging information when an error occurs","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-trace"],"description":"Do not print debugging information when an error occurs","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--verbose"],"description":"Shortcut for '--verbose=all","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["add"],"description":"Add a dependency to pubspec.yaml","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-d","--dev"],"description":"Adds package to the development dependencies instead","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--git-url"],"description":"Git URL of the package","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--git-ref"],"description":"Git branch or commit to be retrieved","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--git-path"],"description":"Path of git package in repository","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--hosted-url"],"description":"URL of package host server","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--path"],"description":"Local path","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--sdk"],"description":"SDK source for package","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--offline"],"description":"Use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-offline"],"description":"Do not use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--precompile"],"description":"Precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-precompile"],"description":"Do not precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"package","description":"Dart pub package name","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["cache"],"description":"Work with the Pub system cache","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["add"],"description":"Install a package","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--all"],"description":"Install all matching versions","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--version"],"description":"Version constraint","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"package","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[]},{"names":["repair"],"description":"Reinstall a cached package","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]}]},{"names":["deps"],"description":"Print package dependencies","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--style"],"description":"How output should be displayed","args":[{"name":"style","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["compact"],"description":null},{"names":["tree"],"description":null},{"names":["list"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--dev"],"description":"Include dev dependencies. (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-dev"],"description":"Do not include dev dependencies. (defaults to off)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--executables"],"description":"List all available executables","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["downgrade"],"description":"Downgrade packages in a Flutter project","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--offline"],"description":"Use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-offline"],"description":"Do not use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["get"],"description":"Get packages in a Flutter project","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--offline"],"description":"Use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-offline"],"description":"Do not use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--precompile"],"description":"Precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-precompile"],"description":"Do not precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["global"],"description":"Work with Pub global packages","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[{"names":["activate"],"description":"Make a package's executables globally available","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s","--source"],"description":"The source used to find the package","args":[{"name":"source","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["git"],"description":null},{"names":["hosted"],"description":null},{"names":["path"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--no-executables"],"description":"Do not put executables on PATH","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-x","--executable"],"description":"Executable(s) to place on PATH","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--overwrite"],"description":"Overwrite executables from other packages with the same name","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-u","--hosted-url"],"description":"A custom pub server URL for the package. Only applies when using the 'hosted' source","args":[{"name":"url","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["deactivate"],"description":"Remove a previously activated package","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["list"],"description":"List globally activated packages","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["run"],"description":"Run an executable from a globally activated package","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-asserts"],"description":"Enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-enable-asserts"],"description":"Do not enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-experiment"],"description":"Runs the executable in a VM with the given experiments enabled. (Will disable snapshotting, resulting in slower startup)","args":[{"name":"experiment","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--sound-null-safety"],"description":"Override the default null safety execution mode","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-sound-null-safety"],"description":"Do not override the default null safety execution mode","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]}]},{"names":["login"],"description":"Log into pub.dev","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["logout"],"description":"Log out of pub.dev","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["outdated"],"description":"Analyze dependencies to find which ones can be upgraded","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--color"],"description":"Color the the output. Defaults to color when connected to a terminal, and no-color otherwise","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-color"],"description":"Do not color the output. Defaults to color when connected to a terminal, and no-color otherwise","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--dependency-overrides"],"description":"Show resolutions with 'dependency_overrides'. (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-dependency-overrides"],"description":"Do not show resolutions with 'dependency_overrides'. (defaults to on)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--json"],"description":"Output the results sing a JSON format","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--mode"],"description":"Highlight versions with PROPERTY. Only packages missing the PROPERTY will be included unless --show-all","args":[{"name":"property","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["outdated"],"description":null},{"names":["null-safety"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--prereleases"],"description":"Include prereleases in latest version. (defaults to on in --mode=null-safety)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-prereleases"],"description":"Do not include prereleases in latest version. (defaults to off in --mode=null-safety)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--show-all"],"description":"Include dependencies that are already fulfilling --mode","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-show-all"],"description":"Do not include dependencies that are already fulfilling --mode","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--transitive","--no-transitive"],"description":"Show transitive dependencies. (defaults to off in --mode=null-safety","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["publish"],"description":"Publish the current package to pub.dartlang.org","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-f","--force"],"description":"Publish without confirmation if there are no errors","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["remove"],"description":"Removes a dependency from the current package","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--offline"],"description":"Use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-offline"],"description":"Do not use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--precompile"],"description":"Precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-precompile"],"description":"Do not precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["upgrade"],"description":"Upgrade the current package's dependencies to latest versions","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--offline"],"description":"Use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-offline"],"description":"Do not use cached packages instead of accessing the network","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-n","--dry-run"],"description":"Report what dependencies would change but don't change any","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--precompile"],"description":"Precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-precompile"],"description":"Do not precompile executables in immediate dependencies","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--null-safety"],"description":"Upgrade constraints in pubspec.yaml to null-safety versions","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--major-versions"],"description":"Upgrades packages to their latest resolvable versions, and updates pubspec.yaml","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["uploader"],"description":"Manage uploaders for a package on pub.dev","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--package"],"description":"The package whose uploaders will be modified. (defaults to the current package)","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]}]},{"names":["run"],"description":"Run a Dart program","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--observe"],"description":"The observe flag is a convenience flag used to run a program with a set of common options. Useful for debugging","args":[{"name":"port-or-address","description":"Port to observe","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-vm-service"],"description":"Enables the VM service and listens on the specified port for connections (default port number is 8181, default dind address is localhost)","args":[{"name":"port-or-address","description":"Port to observe","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--pause-isolates-on-exit","--no-pause-isolates-on-exit"],"description":"Pause isolates on exit when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--pause-isolates-on-unhandled-exceptions"],"description":"Pause isolates when an unhandled exception is encountered when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-pause-isolates-on-unhandled-exceptions"],"description":"Do not pause isolates when an unhandled exception is encountered when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--warn-on-pause-with-no-debugger"],"description":"Print a warning when an isolate pauses with no attahed debugger when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-warn-on-pause-with-no-debugger"],"description":"Do not print a warning when an isolate pauses with no attahed debugger when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--pause-isolates-on-start"],"description":"Pause isolates on start when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-pause-isolates-on-start"],"description":"Do not pause isolates on start when running with --enable-vm-service","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-asserts"],"description":"Enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--no-enable-asserts"],"description":"Do not enable assert statements","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--verbosity"],"description":"Sets the verbosity level of the compilation","args":[{"name":"verbosity-level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["all"],"description":"Show all messages"},{"names":["error"],"description":"Show only error messages"},{"names":["info"],"description":"Show error, warning, and info messages"},{"names":["warning"],"description":"Show only error and warning messages"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-D","--define"],"description":"Define an environment declaration. To specify multiple declarations, use multiple options or use commas to separate key-value pairs. For example: dart compile aot-snapshot -D a=1,b=2 main.dart","args":[{"name":"key-value-pairs","description":"Key-value pairs to define in Dart script","optional":false,"variadic":true,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--disable-service-auth-codes"],"description":"Disables the requirement for an authentication code to communicate with the VM service. Authentication codes help protect against CSRF attacks, so it is not recommended to disable them unless behind a firewall on a secure device","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-service-port-fallback"],"description":"When the VM service is told to bind to a particular port, fallback to 0 if it fails to bind instead of failing to start","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--namespace"],"description":"The path to a directory that dart:io calls will treat as the root of the filesystem","args":[{"name":"path","description":null,"optional":false,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--root-certs-file"],"description":"The The path to a file containing the trusted root certificates to use for secure socket connections","args":[{"name":"path","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--root-certs-cache"],"description":"The path to a cache directory containing the trusted root certificates to use for secure socket connections","args":[{"name":"path","description":null,"optional":false,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--trace-loading"],"description":"Enables tracing of library and script loading","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--enable-experiment"],"description":"Enable one or more experimental features (see dart.dev/go/experiments","args":[{"name":"experiment","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["const-functions"],"description":"Allow more of the Dart language to be executed in const expressions"},{"names":["extension-methods"],"description":"Extension methods (no-op - enabled by default)"},{"names":["extension-types"],"description":"Extension types"},{"names":["generic-metadata"],"description":"Allow annotations to accept type arguments; also allow generic function types as type arguments"},{"names":["non-nullable"],"description":"Non-nullable by default. (no-op - on by default)"},{"names":["nonfunction-type-aliases"],"description":"Type aliases define a <type>, not just <functionType>. (no-op - enabled by default)"},{"names":["triple-shift"],"description":"Triple-shift operator"},{"names":["value-class"],"description":"Value classes"},{"names":["variance"],"description":"Sound variance"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]},{"names":["test"],"description":"Run tests for a project","hidden":false,"options":[{"names":["-h","--help"],"description":"Print this usage information","args":[],"required":false,"repeatable":false,"hidden":false}],"args":[],"subcommands":[]}],"name":"dart"}