shell 1:
```
$ workon swh
$ doco up -d swh-deposit
$ doco logs -f swh-deposit
```
shell 2:
```
$ workon swh
$ swh-deposit deposit --verbose --username test --password test \
--archive ../swh-docker-dev.tgz \
--name swh-docker-dev \
--author 'Antoine r. Dumont (@ardumont)' \
--author 'Morane Gruenpeter'
INFO:swh.deposit.cli.deposit:{'deposit_id': '4', 'deposit_status': 'deposited', 'deposit_status_detail': None, 'deposit_date': 'April 16, 2019, 10:25 a.m.'}
```
We could still use the old way (mentioning the metadata file):
```
$ swh-deposit deposit --url http://localhost:5006/1 \
--verbose \
--username test \
--password test \
--collection test \
--archive ../swh-docker-dev.tgz \
--metadata ../swh-docker-dev.tgz.metadata.xml
INFO:swh.deposit.cli.deposit:{'deposit_id': '5', 'deposit_status': 'deposited', 'deposit_status_detail': None, 'deposit_date': 'April 16, 2019, 10:28 a.m.'}
```
You got rejected if you mention neither `--metadata` nor (--author and --name).
```
$ swh-deposit deposit --url http://localhost:5006/1 \
--verbose \
--username test \
--password test \
--collection test \
--archive ../swh-docker-dev.tgz
INFO:swh.deposit.cli.deposit:{'error': 'Problem during parsing options: Either metadata deposit file or (`--name` and `--author`) fields must be provided'}
```