View Source mix arke.seed_project (Arke v0.4.1)
Seed a given project in the database using file data.
examples
Examples
$ mix arke.seed_project --project my_project1 --p myproject2
$ mix arke.seed_project --all
command-line-options
Command line options
--project
- The id of the project to seed. It could be passed multiple times--all
- Seed all the project found in the database--format
-The format of the file used to import the data.One of:json
Default
--persistence
- The persistence to use. One of:arke_postgres
- via https://github.com/elixir-ecto/postgrex (Default)