dart-lang / pub

The pub command line tool

Home Page:https://dart.dev/tools/pub/cmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split `dart pub publish` in two steps

jonasfj opened this issue · comments

  • Create tarball: dart pub publish --to-archive=<output.tar.gz>
  • Publish tarball: dart pub publish --from-archive=<output.tar.gz>

I suggest we make the options hidden for now.

TODO: Consider if we can come up with better names for the arguments. Maybe --upload instead from --from-tarball, but then what would --to-archive be?