...
[MANDATORY] -c The id for the collection to retrieve the file for.
[OPTIONAL] -i The id of the file to retrieve. If no such argument, then the checksums of all files are retrieved.
- [OPTIONAL] -p The id of the pillar where the F
[OPTIONAL] -S The salt of checksum to request in the response. Requires the ChecksumType argument.
[OPTIONAL] -R The algorithm of checksum to request in the response from the pillars. Allowed values are: MD5, SHA1, SHA256, SHA384, SHA512. If using a salt, prefix the listed types with HMAC_, eg. HMAC_MD5.
PutFile
...
put-file
Puts a file into a collection. It takes the following arguments:
[MANDATORY] -f The path to the file, which is wanted to be put.
[MANDATORY] -c The id for the collection to place the the file in.
[OPTIONAL] -S The salt of checksum to request in the response. Requires the ChecksumType argument.
[OPTIONAL] -R The algorithm of checksum to request in the response from the pillars.
[OPTIONAL] -i A ID for the file (default is the name of the file).
delete
Perform the DeleteFile by running the 'delete-file' commandDeletes a file in the bitrepository. It takes the following arguments:
[MANDATORY] -f The path to the file, which is wanted to be deleted (the actual file is required for calculating the checksums etc. for performing the delete operation).
[MANDATORY] -c The id for the collection to place the the file in.
[OPTIONAL] -C The checksum of the file to be delete (in the collection default checksum specficiation).
[OPTIONAL] -S The salt of checksum to request in the response. Requires the ChecksumType argument.
[OPTIONAL] -R The algorithm of checksum to request in the response from the pillars.
-p The id of the pillar where the file should be delete.
...
replace-file
Replace Replaces a file running the 'replace-file' commandin the bitrepository with the provided file. It takes the following arguments:
...