dart pub uploader

Uploader is one of the commands of the pub tool.

$ dart pub uploader [options] {add/remove} <email>

This command allows uploaders of a package on the pub.dev site to add (invite) or remove other uploaders for that package. It has two sub-commands, add and remove, that take the email address of the person to add/remove as an uploader. For example:

~/code/transmogrify$ dart pub uploader add bob@example.com
We've sent an invitation email to bob@example.com.
They'll be added as an uploader after they accept the invitation.

~/code/transmogrify$ dart pub uploader remove bob@example.com
bob@example.com has been removed as an uploader for this package.

If a package has only one uploader, that uploader can’t be removed. You can remove yourself as an uploader (as long as other uploaders are available), but you can’t re-add yourself again afterwards.

By default, the package in the current working directory will have its uploaders modified. You can also pass the --package flag to choose a package by name. For example:

$ dart pub uploader --package=transmogrify add bob@example.com
We've sent an invitation email to bob@example.com.
They'll be added as an uploader after they accept the invitation.

Note that uploaders are identified by their Google accounts, so use a Gmail or Google Apps email address for any new uploaders.

Options

For options that apply to all pub commands, see Global options.