Import and export remote and local scenarios from DarwinEd.
- Rust.
- Foris' Darwin.
- ssh connection to DarwinEd.
Copy and fill the .env
file:
cp env.example .env
Copy and fill the hosts.json
file:
cp hosts.example.json hosts.json
cargo run -- --client <my-client> --action <my-action> <options>
- Import
tags
:
cargo run -- --client some_client --action tags
- Dump remote scenario using
db_name
and import it in your local Darwin:
cargo run -- --client some_client --action scenarios --db_name some_scenario
- Import remote scenario using
db_name
without creating the dump:
cargo run -- --client some_client --action scenarios --db_name some_scenario --skip_dump_creation
Actions | Description | Ordinality |
---|---|---|
client |
Name of the source client | required |
action |
Action to execute (options: scenarios , tags ) |
required |
db_name |
Scenario to dump (only for scenarios action) |
required |
skip_dump_creation |
Skip the creation of the dump | optional |
skip_insertion |
Skip the insertion process after the dump creation | optional |