@growthub/cli 0.3.48 → 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 +41 -7
- package/dist/utils/banner.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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
11
|
## Install
|
|
@@ -16,19 +17,19 @@ npm install -g @growthub/cli
|
|
|
16
17
|
You can also install through the guided installer:
|
|
17
18
|
|
|
18
19
|
```bash
|
|
19
|
-
|
|
20
|
+
npm create growthub-local@latest
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
Or jump directly to a profile:
|
|
23
24
|
|
|
24
25
|
```bash
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
npm create growthub-local@latest -- --profile gtm
|
|
27
|
+
npm create growthub-local@latest -- --profile dx
|
|
27
28
|
```
|
|
28
29
|
|
|
29
30
|
## CLI Editions
|
|
30
31
|
|
|
31
|
-
The current CLI exposes
|
|
32
|
+
The current CLI exposes five user-facing flows through `growthub discover` and direct subcommands.
|
|
32
33
|
|
|
33
34
|
### 1. Full Local App
|
|
34
35
|
|
|
@@ -134,7 +135,17 @@ User flow:
|
|
|
134
135
|
2. Preview the selected artifact.
|
|
135
136
|
3. Print it, copy it to a local workspace, or use the slug in another workflow.
|
|
136
137
|
|
|
137
|
-
### 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
|
|
138
149
|
|
|
139
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.
|
|
140
151
|
|
|
@@ -154,6 +165,28 @@ Contract:
|
|
|
154
165
|
3. Hosted machine linkage is stored separately from `instances/<id>/config.json`.
|
|
155
166
|
4. `growthub` and `paperclipai` remain intentional side-by-side surfaces rather than auto-loading one another.
|
|
156
167
|
|
|
168
|
+
## Workflows Discovery V1
|
|
169
|
+
|
|
170
|
+
The public CLI now supports a hosted workflow discovery flow inside the interactive hub for all Growthub Auth Users:
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
growthub discover
|
|
174
|
+
growthub workflow
|
|
175
|
+
growthub workflow saved
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Use this when you want to:
|
|
179
|
+
|
|
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
|
|
183
|
+
- execute a hosted saved workflow from the CLI
|
|
184
|
+
- manage workflow lifecycle actions (archive/delete) from CLI
|
|
185
|
+
|
|
186
|
+
The full public usage and architecture notes live here:
|
|
187
|
+
|
|
188
|
+
- [CLI Workflows Discovery V1](../docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
|
|
189
|
+
|
|
157
190
|
## Contribution Model
|
|
158
191
|
|
|
159
192
|
The CLI has two extension surfaces for content:
|
|
@@ -167,7 +200,7 @@ For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXT
|
|
|
167
200
|
|
|
168
201
|
## Development Notes
|
|
169
202
|
|
|
170
|
-
- `@growthub/cli` version: `0.3.
|
|
203
|
+
- `@growthub/cli` version: `0.3.49`
|
|
171
204
|
- Node.js: `>=20`
|
|
172
205
|
- Source of truth repo: [Growthub Local](https://github.com/Growthub-ai/growthub-local)
|
|
173
206
|
|
|
@@ -176,5 +209,6 @@ For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXT
|
|
|
176
209
|
- [GitHub README](https://github.com/Growthub-ai/growthub-local#readme)
|
|
177
210
|
- [Contributing](https://github.com/Growthub-ai/growthub-local/blob/main/CONTRIBUTING.md)
|
|
178
211
|
- [Growthub Authentication Bridge](https://github.com/Growthub-ai/growthub-local/blob/main/docs/GROWTHUB_AUTH_BRIDGE.md)
|
|
212
|
+
- [CLI Workflows Discovery V1](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
|
|
179
213
|
- [Worker Kits](https://github.com/Growthub-ai/growthub-local/blob/main/docs/WORKER_KITS.md)
|
|
180
214
|
- [CLI Template Contribution Extension Workflows](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_TEMPLATE_CONTRIBUTION_EXTENSION_WORKFLOWS.md)
|
package/dist/utils/banner.js
CHANGED