$ npm install -g itemsapi-cli
Generating new ItemsAPI starter application
$ itemsapi generate my-app
Create project using JSON filename
$ itemsapi projects create --api=http://localhost:5000/api/v1 --filename=movies.json
Create project using JSON url
$ itemsapi projects create --api=http://localhost:5000/api/v1 --url=https://raw.githubusercontent.com/itemsapi/itemsapi-example-data/master/items/movies-processed.json
Print all
$ itemsapi collections list --api=http://localhost:5000/api/v1
Importing data
$ itemsapi items import --collection zouespow --filename data.json --api=http://localhost:5000/api/v1
Exporting data
$ itemsapi items export --collection zouespow --api=http://localhost:5000/api/v1 > movies.json
General help
$ itemsapi --help
Sub-command help
$ itemsapi items --help
Specific command help
$ itemsapi items import --help