The Wayback Machine - https://web.archive.org/web/20200803115122/https://dart.dev/tools/pub/cmd/pub-uploader

pub uploader

Uploader is one of the commands of the pub tool.

$ 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$ pub uploader add [email protected]
We have sent an invitation to [email protected], they will be added as uploader after they confirm it.

~/code/transmogrify$ pub uploader remove [email protected]
Successfully removed uploader from 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:

$ pub uploader --package=transmogrify add [email protected]
We have sent an invitation to [email protected], they will be added as uploader after they confirm it.

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.