fimo 0.2.3-staging.5 → 0.2.3-staging.7
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/assets/skills/fimo-cli/SKILL.md +2 -1
- package/assets/skills/fimo-cli/references/domains.md +3 -0
- package/assets/skills/fimo-cli/references/projects.md +11 -1
- package/dist/cli/bundle.json +2 -2
- package/dist/cli/index.js +3078 -1243
- package/package.json +1 -1
- package/templates/react-router/package.json +1 -1
|
@@ -44,6 +44,7 @@ npm i -g fimo # install the CLI globally
|
|
|
44
44
|
fimo login # authenticate via browser
|
|
45
45
|
fimo skills install # install Fimo skills for your AI tools
|
|
46
46
|
fimo create my-site --org <id> # scaffold (writes .fimo.settings.json + AGENTS.md + project skill). Use the org **id** from `fimo orgs list`, NOT the slug.
|
|
47
|
+
fimo clone # interactively choose an existing project to clone locally
|
|
47
48
|
cd my-site # the `fimo` project skill auto-loads from here
|
|
48
49
|
fimo credits # inspect the owning org's AI credit balance (read-only)
|
|
49
50
|
fimo validate # run all checks + sync schemas/forms/translations to DB
|
|
@@ -72,7 +73,7 @@ Load the matching reference when the user's request fires its trigger. Recipes t
|
|
|
72
73
|
- "Firecrawl / scrape a public website / competitor research / agent web research" → `references/integrations.md` **+ load `references/integrations/firecrawl.md`**
|
|
73
74
|
- "Check credits / credit balance / can I keep using AI / billing credits / running low / how many credits are left" → `references/credits.md`
|
|
74
75
|
- "Create a branch / feature environment / new env / switch envs / merge envs / diff two envs / env status / what changed on this branch / sync from parent / cut a release / tag a version / go to prod" → `references/branches.md`
|
|
75
|
-
- "List my projects / delete this project / unpublish / rename the project / manage projects across the org" → `references/projects.md`
|
|
76
|
+
- "List my projects / clone an existing project locally / check out a project / delete this project / unpublish / rename the project / manage projects across the org" → `references/projects.md`
|
|
76
77
|
- "Migrate an existing Webflow / Framer / Squarespace / Wix / Carrd site from only a published URL" → load the `fimo-migration` skill and start with `fimo migrate <url> [dir]` to prepare the agent-ready migration draft
|
|
77
78
|
- "Migrate from an exported project, source repository, Webflow code export plus CMS CSVs, Framer CMS CSVs, Squarespace XML/CSV, Wix CSVs, Carrd/static export, or downloaded site files" → load the `fimo-migration` skill and use the source repo/export as the migration source of truth
|
|
78
79
|
- "How do AI agents read my site / markdown for agents" → `references/deploy.md`
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
| **Custom domain** | A hostname the user owns (e.g. `blog.example.com`), attached via DNS | Premium | Many | `project_domains` table |
|
|
9
9
|
| **Registered domain** | A new domain bought _through_ Fimo via the registrar reseller | Premium + feature flag | Many | `registered_domains` table |
|
|
10
10
|
|
|
11
|
+
> **A renamed URL or custom domain only resolves once the site is published** (`fimo deploy --publish`); before that it returns "Project Not Found".
|
|
12
|
+
|
|
11
13
|
## Commands
|
|
12
14
|
|
|
13
15
|
```bash
|
|
@@ -106,6 +108,7 @@ Propagation: typically 15–30 minutes, up to 48 hours rarely.
|
|
|
106
108
|
|
|
107
109
|
## Common errors
|
|
108
110
|
|
|
111
|
+
- **"Project Not Found" on a new URL or custom domain.** The route exists but the site was never published — run `fimo deploy --publish`.
|
|
109
112
|
- **"Custom domains require a Premium plan."** — the operation is paid; the message includes the org billing URL. Free users can still run `list`, `rename-default`, `suggest-default`, `search`, and `pricing`.
|
|
110
113
|
- **"Domain purchase is not enabled on this account."** — the registered-domains feature flag is off on this API instance. Contact support.
|
|
111
114
|
- **"This URL is not available."** — slug or hostname collides with another project or is reserved.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Managing projects
|
|
2
2
|
|
|
3
|
-
Commands for listing projects across an org and
|
|
3
|
+
Commands for listing projects across an org, cloning a remote project locally, and managing the lifecycle of a single project (delete, publish, unpublish, rename). Most lifecycle commands operate on the **current project** (read from `.fimo.settings.json` in the cwd) by default; for `delete`, `publish`, and `unpublish` you can pass an explicit `[projectId]` to target another. (`rename` is local-only — it never targets a different project; see below.)
|
|
4
4
|
|
|
5
5
|
## The `fimo projects` namespace
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
fimo projects list [--org <id>] # list projects in an org (defaults to active org)
|
|
9
9
|
fimo projects create [dir] [--org <id>] [--install|--no-install] # alias of `fimo create`
|
|
10
|
+
fimo projects clone [projectId] [dir] [--env <name>] # clone an existing project locally
|
|
10
11
|
fimo projects delete [projectId] [-C <dir>] [-y] # delete (defaults to current project)
|
|
11
12
|
fimo projects publish [projectId] [-C <dir>] # make the project live (publish from main)
|
|
12
13
|
fimo projects unpublish [projectId] [-C <dir>] # take the project offline
|
|
@@ -15,10 +16,19 @@ fimo projects rename <name> [projectId] [-C <dir>] # local-only: set seo.siteN
|
|
|
15
16
|
|
|
16
17
|
- **`list`** — projects you can see in the org. Live projects are marked.
|
|
17
18
|
- **`create`** — identical to `fimo create`; see `references/create.md`.
|
|
19
|
+
- **`clone`** — clone a remote Fimo project's git repo to your machine and write the local `.fimo.settings.json`/agent files. Use `fimo clone <projectId>` when scripting or when the ID is known. In an interactive terminal, bare `fimo clone` opens a project picker for the active org; JSON mode and non-TTY shells require an explicit project ID and fail fast instead of prompting. By default it clones `main`; pass `--env <name>` to clone a specific env. The target directory defaults to the project display name/name, or pass `[dir]` explicitly.
|
|
18
20
|
- **`delete`** — destructive; prompts unless `-y`. Removes the remote project.
|
|
19
21
|
- **`publish` / `unpublish`** — toggle the project's public visibility. `publish` flips the current `main` state live (the same "go live" as `fimo deploy --publish`, minus the git push). This is **not** the versioned release path — for that, see `fimo publish` in `references/branches.md`.
|
|
20
22
|
- **`rename`** — **local-only**, unlike the others. It does not touch the remote project record. It requires `.fimo.settings.json` in the cwd, and if you pass a `[projectId]` that doesn't match the linked project it errors and exits 1 (so you can't rename a different project). It writes `seo.siteName` into the local `fimo-config.json`; you must commit and run `fimo deploy` to apply the change.
|
|
21
23
|
|
|
24
|
+
## Top-level clone shortcut
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
fimo clone [projectId] [dir] [--env <name>] # same as `fimo projects clone`
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Use the top-level shortcut for the common "get this project onto my machine" workflow. After clone succeeds, `cd` into the printed directory and load the newly written project context (`AGENTS.md` plus the installed project skill) before generating code.
|
|
31
|
+
|
|
22
32
|
## Top-level shortcuts (current project)
|
|
23
33
|
|
|
24
34
|
These target the project linked in the cwd's `.fimo.settings.json` — handy from inside a project directory:
|
package/dist/cli/bundle.json
CHANGED