_artifactcache/pushreceive.py: Add Click type for CLI argument 'repo'

Description

_artifactcache/pushreceive.py: Add Click type for CLI argument 'repo'

The CLI for bst-artifact-receive expects a repo argument, which is supposed to be a directory, but Click currently expects it to be just any string. This results in ugly stack traces.

Add types for this argument such that it throws better error messages when it receives bad arguments.

Changes proposed in this merge request:

  • _artifactcache/pushreceive.py: Add Click type for CLI argument 'repo'

This merge request, when approved, will close issue/bug: #409 (closed)

CHANGELOG/Release Notes

Edited by Chandan Singh

Merge request reports

Loading