creght-cli 0.15.0 → 0.16.0

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
@@ -255,6 +255,14 @@ paths from `pull`, `diff`, and `push`. Ignored remote files are left untouched,
255
255
  including when using `push --delete` or `push --force`. The `.creghtignore`
256
256
  file itself is always local and is never synced.
257
257
 
258
+ Order matters: an ignored path also loses its base state, so a rule added
259
+ before the remote copy was deleted leaves that copy live on the site with no
260
+ base for `push --delete` to plan from. `push` and `diff` name the remote files
261
+ a rule is hiding, and `creght rm <path>` deletes one of them. To clear several,
262
+ remove the rule and run `push` to rebuild their base state (`pull` instead if
263
+ the local and remote copies have diverged), delete the files locally, run
264
+ `push --delete`, then add the rule back.
265
+
258
266
  The syntax follows common gitignore conventions: blank lines, `#` comments,
259
267
  `!` negation, root-relative patterns, directory patterns, and `*`, `?`, and
260
268
  `**` wildcards. For example:
@@ -724,6 +732,7 @@ Command meanings:
724
732
  - `project`: List available projects and sites. Use `project_id/site_id` with site commands. Also supports `project create`.
725
733
  - `pull`: Download site files (including Func code under `backend/func/`) into a local workspace, three-way merging remote and local edits.
726
734
  - `push`: Push local workspace changes to the remote site/project after a three-way conflict check.
735
+ - `rm`: Delete one remote site file by path, including a file hidden by `.creghtignore` that `push --delete` cannot reach. Leaves the local copy on disk.
727
736
  - `resolve`: List files with conflict markers, or resolve one by keeping the local (`--ours`) or remote (`--theirs`) side.
728
737
  - `preview`: Open the remote preview URL for a site in the browser.
729
738
  - `publish`: Snapshot the current remote site source into a new version and make it live in one step.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creght-cli",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
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