creght-cli 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -553,9 +553,10 @@ Upload a local file through the Creght site asset flow:
|
|
|
553
553
|
creght upload --site_id=<project_id>/<site_id> --file=./image.png
|
|
554
554
|
```
|
|
555
555
|
|
|
556
|
-
The command prints the public file URL by default
|
|
557
|
-
|
|
558
|
-
|
|
556
|
+
The command prints the public file URL by default; use that URL directly from
|
|
557
|
+
site code. Use `--json` to also get `file_path` (the storage path behind the URL)
|
|
558
|
+
and `hash_exist` (true when the same content was already uploaded, so only the
|
|
559
|
+
record was created):
|
|
559
560
|
|
|
560
561
|
```bash
|
|
561
562
|
creght upload --site_id=<project_id>/<site_id> --file=./image.png --json
|
package/package.json
CHANGED
|
Binary file
|
package/vendor/darwin-x64/creght
CHANGED
|
Binary file
|
|
Binary file
|
package/vendor/linux-x64/creght
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|