$ ezmesure-admin institutions --help
Name | Description |
---|---|
get [institutions...] | Get institution(s) informations |
export [institutions...] | Export institution(s) |
import | Import institution(s) |
$ ezmesure-admin institutions get --help
Name | Type | Description |
---|---|---|
-a, --all | String | Export all institutions |
-j, --json | Boolean | Print result(s) in json |
-n, --ndjson | boolean | Output newline delimited JSON file |
Example :
$ ezmesure-admin institutions get MyInstitution # with insitution(s) name
╔══════════════════╤═══════════╤═════════════════════════════════╤═════════╤═══════════╤═══════════╤════════════════╤════════════════╤═════════════════════╗
║ Name │ City │ Website │ Domains │ Auto │ Validate │ Index prefix │ Role │ Contact ║
╟──────────────────┼───────────┼─────────────────────────────────┼─────────┼───────────┼───────────┼────────────────┼────────────────┼─────────────────────╢
║ MyInstitution 1 │ Paris │ https://www.my-institution.fr/ │ │ ezPAARSE │ Validated │ my_institution │ my_institution │ Doc : DOC Contact ║
║ │ │ │ │ ezMESURE │ │ │ │ Tech : TECH Contact ║
║ │ │ │ │ Reporting │ │ │ │ ║
╚══════════════════╧═══════════╧═════════════════════════════════╧═════════╧═══════════╧═══════════╧════════════════╧════════════════╧═════════════════════╝
or
$ ezmesure-admin institutions get
? Institutions :
❯◯ MyInstitution
◯ MyInstitution 2
╔══════════════════╤═══════════╤═════════════════════════════════╤═════════╤═══════════╤═══════════╤════════════════╤════════════════╤═════════════════════╗
║ Name │ City │ Website │ Domains │ Auto │ Validate │ Index prefix │ Role │ Contact ║
╟──────────────────┼───────────┼─────────────────────────────────┼─────────┼───────────┼───────────┼────────────────┼────────────────┼─────────────────────╢
║ MyInstitution 1 │ Paris │ https://www.my-institution.fr/ │ │ ezPAARSE │ Validated │ my_institution │ my_institution │ Doc : DOC Contact ║
║ │ │ │ │ ezMESURE │ │ │ │ Tech : TECH Contact ║
║ │ │ │ │ Reporting │ │ │ │ ║
╚══════════════════╧═══════════╧═════════════════════════════════╧═════════╧═══════════╧═══════════╧════════════════╧════════════════╧═════════════════════╝
$ ezmesure-admin institutions export --help
Name | Type | Description |
---|---|---|
-a, --all | String | Export all institutions |
Example :
$ ezmesure-admin institutions export ~/Documents/exports
? Institutions :
❯◯ MyInstitution
◯ MyInstitution 2
institution [MyInstitution] exported successfully
or
$ ezmesure-admin institutions export ~/Documents/exports --all
institution [MyInstitution] exported successfully
$ ezmesure-admin institutions import --help
Name | Type | Description |
---|---|---|
-f, --files | String | Files path |
Example :
$ ezmesure-admin institutions import -f ~/Documents/import/*.json
Successfully imported institution(s).