Revision 90d0b5c8
Added by Thomas McKay over 8 years ago
README.md | ||
---|---|---|
462 | 462 |
| Organizations | Comma separated list of organizations | | x | x | x | | |
463 | 463 |
| Locations | Comma separated list of locations | | x | x | x | | |
464 | 464 |
| Roles | Comma separated list of role names for user | | x | x | x | | |
465 |
|
|
466 |
## Import |
|
467 |
|
|
468 |
**Overview** |
|
469 |
* [Open Issues](https://github.com/Katello/hammer-cli-csv/issues?labels=users&state=open) |
|
470 |
* [Tests](https://github.com/Katello/hammer-cli-csv/blob/master/test/users_test.rb) |
|
471 |
|
|
472 |
**Examples** |
|
473 |
|
|
474 |
% hammer csv import -v --organizations test/data/organizations.csv --locations test/data/locations.csv |
|
475 |
Creating organization 'Mega Corporation'... done |
|
476 |
Creating organization 'Mega Subsidiary'... done |
|
477 |
Creating location 'Asia Pacific'... done |
|
478 |
Creating location 'Asia Pacific (Tokyo) Region'... done |
|
479 |
Creating location 'Asia Pacific (Singapore) Region'... done |
|
480 |
Creating location 'Asia Pacific (Sydney) Region'... done |
|
481 |
Creating location 'EU (Ireland) Region'... done |
|
482 |
Creating location 'South America (Sao Paulo) Region'... done |
|
483 |
Creating location 'US East (Northern Virginia) Region'... done |
|
484 |
Creating location 'US West (Northern California) Region'... done |
|
485 |
Creating location 'US West (Oregon) Region'... done |
|
486 |
|
|
487 |
# Development |
|
488 |
|
|
489 |
## Code style |
|
490 |
|
|
491 |
rubocop -R <file> |
|
492 |
|
|
493 |
## Tests |
|
494 |
|
|
495 |
The tests are meant to run against a live server. |
|
496 |
|
Also available in: Unified diff
corrected api errors in roles csv