1. 08 May, 2023 1 commit
    • Loïc Sharma's avatar
      [Tool] Output help on 'flutter pub' (#126211) · 472a0ab3
      Loïc Sharma authored
      This change makes `flutter pub` show the help usage:
      
      ```
      PS > flutter pub
      Commands for managing Flutter packages.
      
      Global options:
      -h, --help                  Print this usage information.
      -v, --verbose               Noisy logging, including all shell commands executed.
                                  If used with "--help", shows hidden options. If used with "flutter
                                  doctor", shows additional diagnostic information. (Use "-vv" to force
                                  verbose logging in those cases.)
      -d, --device-id             Target device id or name (prefixes allowed).
          --version               Reports the version of this tool.
          --suppress-analytics    Suppress analytics reporting for the current CLI invocation.
          --disable-telemetry     Disable telemetry reporting when this command runs.
      
      Usage: flutter pub <subcommand> [arguments]
      -h, --help    Print this usage information.
      
      Available subcommands:
        add         Add a dependency to pubspec.yaml.
        cache       Work with the Pub system cache.
        deps        Print package dependencies.
        downgrade   Downgrade packages in a Flutter project.
        get         Get the current package's dependencies.
        global      Work with Pub global packages.
        login       Log into pub.dev.
        logout      Log out of pub.dev.
        outdated    Analyze dependencies to find which ones can be upgraded.
        pub         Pass the remaining arguments to Dart's "pub" tool.
        publish     Publish the current package to pub.dartlang.org.
        remove      Removes a dependency from the current package.
        run         Run an executable from a package.
        test        Run the "test" package.
        token       Manage authentication tokens for hosted pub repositories.
        upgrade     Upgrade the current package's dependencies to latest versions.
        uploader    Manage uploaders for a package on pub.dev.
        version     Print Pub version.
      
      Run "flutter help" to see global options.
      ```
      
      Previously it showed an error message:
      
      ```
      PS > flutter pub
      Missing subcommand for "flutter pub".
      
      Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.
      ```
      
      Addresses https://github.com/flutter/flutter/issues/110025
      472a0ab3
  2. 02 Feb, 2023 1 commit
  3. 12 Jan, 2023 1 commit
    • Andrew Kolos's avatar
      reduce pub output from flutter create (#118285) · ee1c59d4
      Andrew Kolos authored
      * reduce pub output from flutter create
      
      * fix fake Pub implementations
      
      * fix tests
      
      * Update pub.dart
      
      * replace enum with simpler boolean
      
      * fix tests
      
      * Revert "fix tests"
      
      This reverts commit 8a3182d3b95d4f2bf337343cdb76e88c2f428ca8.
      
      * Revert "replace enum with simpler boolean"
      
      This reverts commit 445dbc443db4eb5ce284f76749f60e81208b8783.
      
      * go back to using an enum
      ee1c59d4
  4. 10 Jan, 2023 1 commit
  5. 28 Sep, 2022 1 commit
  6. 08 Sep, 2022 1 commit
  7. 29 Aug, 2022 2 commits
  8. 09 Aug, 2022 1 commit
  9. 02 Aug, 2022 1 commit
  10. 03 Jun, 2022 1 commit
  11. 30 Sep, 2021 1 commit
  12. 07 Sep, 2021 1 commit
  13. 19 Jul, 2021 1 commit
  14. 19 May, 2021 1 commit
  15. 26 Apr, 2021 1 commit
  16. 07 Apr, 2021 1 commit
  17. 08 Feb, 2021 1 commit
  18. 04 Feb, 2021 1 commit
    • Jonah Williams's avatar
      [flutter_tools] move process manager into tool (#75350) · 8b6baae4
      Jonah Williams authored
      Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
      8b6baae4
  19. 27 Jan, 2021 1 commit
  20. 19 Jan, 2021 2 commits