creght-cli 0.7.0 → 0.7.2

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. Use `--json` to inspect the
557
- full upload metadata, including `site_path`, a stable `/_assets/...` path that
558
- can be used from Creght site code:
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creght-cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Creght CLI for syncing local site code with Creght.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/creght-dev/creght-cli#readme",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file