@blocofy/cli 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/bin/blocofy.mjs +3 -3
  2. package/package.json +1 -1
package/bin/blocofy.mjs CHANGED
@@ -50,13 +50,13 @@ Usage
50
50
  --port <n> local port (default 3030)
51
51
  --no-sync local preview only (skip draft sync + remote views)
52
52
 
53
- blocofy theme pull [dir] [--draft]
53
+ blocofy theme pull [dir] [--draft] [--instance <handle>]
54
54
  Download the live theme to disk. (dir defaults to cwd)
55
55
  --draft pull the draft theme (what 'theme dev' syncs into) instead of live
56
56
  --instance <handle> pull a specific theme by its handle (from the admin
57
57
  panel theme card, or \`blocofy status\`)
58
58
 
59
- blocofy theme push [dir] [--draft] [--yes]
59
+ blocofy theme push [dir] [--draft] [--yes] [--instance <handle>]
60
60
  Write the local theme to the LIVE site IMMEDIATELY (create/update; no delete,
61
61
  no preview). Asks for confirmation first; non-interactive shells must pass --yes.
62
62
  --draft write to a draft theme instead — preview & publish it from the
@@ -439,7 +439,7 @@ async function status() {
439
439
  const creds = requireCreds();
440
440
  const s = await fetchSiteStatus({ url: creds.url, token: creds.token });
441
441
  const live = s.live_theme_instance;
442
- console.log(`\nSite: ${s.site.slug} · ${s.site.id}`);
442
+ console.log(`\nSite: ${s.site.slug}${s.url ? ` · ${s.url}` : ""}`);
443
443
  console.log(
444
444
  live
445
445
  ? `Live theme: ${live.id}${live.name ? ` ${live.name}` : ""} — ${live.template_count} files, ${s.pages_on_live} pages`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocofy/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Develop your Blocofy theme locally against live data with instant preview — login, theme dev, pull, push.",
5
5
  "type": "module",
6
6
  "license": "MIT",