@growthub/cli 0.3.49 → 0.3.50
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 +22 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# @growthub/cli
|
|
2
2
|
|
|
3
|
-
`@growthub/cli` is the published CLI for Growthub Local. It covers
|
|
3
|
+
`@growthub/cli` is the published CLI for Growthub Local. It covers five shipped user flows:
|
|
4
4
|
|
|
5
5
|
- full local app discovery and onboarding
|
|
6
6
|
- worker kit discovery, export, inspection, and validation
|
|
7
7
|
- shared template discovery and extraction
|
|
8
|
+
- hosted workflows, capabilities, dynamic pipelines, and artifacts
|
|
8
9
|
- hosted Growthub auth + machine profile bridge
|
|
9
10
|
|
|
10
|
-
Now supports the hosted for Growthub Auth Users, the `Workflows` discovery surface for saved workflows, templates, and hosted workflow execution.
|
|
11
|
-
|
|
12
11
|
## Install
|
|
13
12
|
|
|
14
13
|
```bash
|
|
@@ -18,19 +17,19 @@ npm install -g @growthub/cli
|
|
|
18
17
|
You can also install through the guided installer:
|
|
19
18
|
|
|
20
19
|
```bash
|
|
21
|
-
|
|
20
|
+
npm create growthub-local@latest
|
|
22
21
|
```
|
|
23
22
|
|
|
24
23
|
Or jump directly to a profile:
|
|
25
24
|
|
|
26
25
|
```bash
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
npm create growthub-local@latest -- --profile gtm
|
|
27
|
+
npm create growthub-local@latest -- --profile dx
|
|
29
28
|
```
|
|
30
29
|
|
|
31
30
|
## CLI Editions
|
|
32
31
|
|
|
33
|
-
The current CLI exposes
|
|
32
|
+
The current CLI exposes five user-facing flows through `growthub discover` and direct subcommands.
|
|
34
33
|
|
|
35
34
|
### 1. Full Local App
|
|
36
35
|
|
|
@@ -136,7 +135,17 @@ User flow:
|
|
|
136
135
|
2. Preview the selected artifact.
|
|
137
136
|
3. Print it, copy it to a local workspace, or use the slug in another workflow.
|
|
138
137
|
|
|
139
|
-
### 4. Hosted
|
|
138
|
+
### 4. Hosted Workflows
|
|
139
|
+
|
|
140
|
+
Use this when you want CMS node contract discovery, dynamic hosted pipeline creation, and saved workflow lifecycle management.
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
growthub workflow
|
|
144
|
+
growthub workflow saved
|
|
145
|
+
growthub pipeline assemble
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### 5. Hosted Auth Bridge
|
|
140
149
|
|
|
141
150
|
Use this when you want the hosted Growthub account to remain the top-level identity while syncing safe local-machine metadata into the CLI runtime.
|
|
142
151
|
|
|
@@ -163,17 +172,16 @@ The public CLI now supports a hosted workflow discovery flow inside the interact
|
|
|
163
172
|
```bash
|
|
164
173
|
growthub discover
|
|
165
174
|
growthub workflow
|
|
166
|
-
growthub workflow templates
|
|
167
175
|
growthub workflow saved
|
|
168
176
|
```
|
|
169
177
|
|
|
170
178
|
Use this when you want to:
|
|
171
179
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
- save
|
|
180
|
+
- inspect CMS node contracts from the interactive contracts browser
|
|
181
|
+
- list hosted saved workflows and inspect detail
|
|
182
|
+
- create/save hosted workflows through Dynamic Pipelines
|
|
175
183
|
- execute a hosted saved workflow from the CLI
|
|
176
|
-
-
|
|
184
|
+
- manage workflow lifecycle actions (archive/delete) from CLI
|
|
177
185
|
|
|
178
186
|
The full public usage and architecture notes live here:
|
|
179
187
|
|
|
@@ -192,7 +200,7 @@ For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXT
|
|
|
192
200
|
|
|
193
201
|
## Development Notes
|
|
194
202
|
|
|
195
|
-
- `@growthub/cli` version: `0.3.
|
|
203
|
+
- `@growthub/cli` version: `0.3.49`
|
|
196
204
|
- Node.js: `>=20`
|
|
197
205
|
- Source of truth repo: [Growthub Local](https://github.com/Growthub-ai/growthub-local)
|
|
198
206
|
|