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