OLD | NEW |
| (Empty) |
1 --- | |
2 title: "Command: Uploader" | |
3 --- | |
4 | |
5 $ pub uploader [options] {add/remove} <email> | |
6 | |
7 This command allows [uploaders](glossary.html#uploader) of a package on | |
8 [pub.dartlang.org](http://pub.dartlang.org) to add or remove other uploaders for | |
9 that package. It has two sub-commands, `add` and `remove`, that take the email | |
10 address of the person to add/remove as an uploader. For example: | |
11 | |
12 ~/code/transmogrify$ pub uploader add nweiz@google.com | |
13 'nweiz@google.com' added as an uploader for package 'transmogrify'. | |
14 | |
15 ~/code/transmogrify$ pub uploader remove nweiz@google.com | |
16 'nweiz@google.com' is no longer an uploader for package 'transmogrify'. | |
17 | |
18 If a package has only one uploader, that uploader can't be removed. You may | |
19 remove yourself as an uploader (as long as there are other uploaders), but you | |
20 won't be able to re-add yourself again afterwards. | |
21 | |
22 By default, the package in the current working directory will have its | |
23 uploaders modified. You can also pass the `--package` flag to choose a | |
24 package by name. For example: | |
25 | |
26 $ pub uploader --package=transmogrify add nweiz@google.com | |
27 'nweiz@google.com' added as an uploader for package 'transmogrify'. | |
28 | |
29 Note that uploaders are identified by their Google accounts, so use a Gmail or | |
30 Google Apps email address for any new uploaders. | |
OLD | NEW |