quilt
quilt copied to clipboard
quilt3 push: --dir is a required argument
I was hoping to use the Quilt CLI to move an unmaterialized package from my local registry to S3 and found that the push command couldn't do what I was asking:
$ quilt3 push --no-copy <name>
usage: quilt3 push --dir DIR [-h] [--registry REGISTRY] [--dest DEST] [--message MESSAGE] [--meta META] [--workflow WORKFLOW] [--force] [--dedupe] [--no-copy] name
quilt3 push: error: the following arguments are required: --dir
The usage string indicates that I need to supply a value for --dir, which doesn't really make sense for what I think the command is doing. I suppose it could optionally accept a directory to add to the package, but it seems unnecesary to require it. Also, I do have the default remote registry configured:
$ quilt3 push -h
usage: quilt3 push --dir DIR [-h] [--registry REGISTRY] [--dest DEST] [--message MESSAGE] [--meta META] [--workflow WORKFLOW] [--force] [--dedupe] [--no-copy] name
Pushes the new package to the remote registry
positional arguments:
name Name of package, in the USER/PKG format
required arguments:
--dir DIR Directory to add to the new package
optional arguments:
-h, --help show this help message and exit
--registry REGISTRY Registry where to create the new package. Defaults to the default remote registry.
--dest DEST Where to copy the objects in the package
--message MESSAGE The commit message for the new package
--meta META Sets package-level metadata. Format: A json string with keys in double quotes '{"key": "value"}'
--workflow WORKFLOW Workflow ID or empty string to skip workflow validation. If not specified, the default workflow will be used.
--force Skip the parent top hash check and create a new revision even if your local state is behind the remote registry.
--dedupe Skip the push if the local package hash matches the remote hash.
--no-copy Do not copy data. Package manifest entries will reference the data at the original location.
FYI I'm using v5.3.1 of the library.