@marktoflow/cli 2.0.0-alpha.9 → 2.0.1
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 +47 -472
- package/dist/commands/dry-run.d.ts +1 -0
- package/dist/commands/dry-run.d.ts.map +1 -1
- package/dist/commands/dry-run.js +161 -25
- package/dist/commands/dry-run.js.map +1 -1
- package/dist/commands/history.d.ts +18 -0
- package/dist/commands/history.d.ts.map +1 -0
- package/dist/commands/history.js +258 -0
- package/dist/commands/history.js.map +1 -0
- package/dist/commands/test-connection.d.ts +26 -0
- package/dist/commands/test-connection.d.ts.map +1 -0
- package/dist/commands/test-connection.js +599 -0
- package/dist/commands/test-connection.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +531 -40
- package/dist/index.js.map +1 -1
- package/dist/oauth.d.ts +8 -2
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +191 -16
- package/dist/oauth.js.map +1 -1
- package/dist/serve.d.ts +3 -0
- package/dist/serve.d.ts.map +1 -0
- package/dist/serve.js +453 -0
- package/dist/serve.js.map +1 -0
- package/dist/utils/agent-override.d.ts +43 -0
- package/dist/utils/agent-override.d.ts.map +1 -0
- package/dist/utils/agent-override.js +90 -0
- package/dist/utils/agent-override.js.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/input-parser.d.ts +37 -0
- package/dist/utils/input-parser.d.ts.map +1 -0
- package/dist/utils/input-parser.js +80 -0
- package/dist/utils/input-parser.js.map +1 -0
- package/package.json +12 -8
package/README.md
CHANGED
|
@@ -1,388 +1,109 @@
|
|
|
1
1
|
# @marktoflow/cli
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Command-line interface for running markdown-based workflow automations.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@marktoflow/cli)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`@marktoflow/cli` is the main package for marktoflow, providing the command-line interface for creating, running, and managing automation workflows.
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Workflow Execution** - Run workflows from markdown files
|
|
14
|
-
- **Interactive Setup** - Initialize projects with guided prompts
|
|
15
|
-
- **OAuth Integration** - Easy OAuth setup for Gmail, Outlook
|
|
16
|
-
- **Scheduling** - Background workflow scheduling with cron
|
|
17
|
-
- **Webhooks** - HTTP webhook server for event-driven workflows
|
|
18
|
-
- **Queue Workers** - Process workflows from queues (Redis/RabbitMQ)
|
|
19
|
-
- **Dry Run Mode** - Test workflows without executing actions
|
|
20
|
-
- **Debug Mode** - Detailed execution logging
|
|
21
|
-
- **Doctor** - System health checks and diagnostics
|
|
22
|
-
- **Template Management** - Create workflows from templates
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
|
|
26
|
-
### Install globally from npm
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm install -g @marktoflow/cli@alpha
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Use with npx (no installation)
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
npx @marktoflow/cli@alpha <command>
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Install from GitHub
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
npm install -g github:scottgl9/marktoflow#main
|
|
42
|
-
```
|
|
7
|
+
Part of [marktoflow](../../README.md) — open-source markdown workflow automation.
|
|
43
8
|
|
|
44
9
|
## Quick Start
|
|
45
10
|
|
|
46
|
-
### 1. Initialize a project
|
|
47
|
-
|
|
48
11
|
```bash
|
|
49
|
-
marktoflow
|
|
50
|
-
```
|
|
12
|
+
npm install -g @marktoflow/cli
|
|
51
13
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- `.marktoflow/` directory
|
|
55
|
-
- `workflows/` directory with example workflow
|
|
56
|
-
- `.marktoflow/config.yaml` configuration file
|
|
57
|
-
|
|
58
|
-
### 2. Create a workflow
|
|
59
|
-
|
|
60
|
-
Create `workflow.md`:
|
|
61
|
-
|
|
62
|
-
```markdown
|
|
63
|
-
---
|
|
64
|
-
workflow:
|
|
65
|
-
id: hello-world
|
|
66
|
-
name: Hello World
|
|
67
|
-
|
|
68
|
-
tools:
|
|
69
|
-
slack:
|
|
70
|
-
sdk: '@slack/web-api'
|
|
71
|
-
auth:
|
|
72
|
-
token: '${SLACK_BOT_TOKEN}'
|
|
73
|
-
|
|
74
|
-
inputs:
|
|
75
|
-
message:
|
|
76
|
-
type: string
|
|
77
|
-
default: 'Hello World!'
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
# Hello World Workflow
|
|
81
|
-
|
|
82
|
-
## Step 1: Send Message
|
|
83
|
-
|
|
84
|
-
\`\`\`yaml
|
|
85
|
-
action: slack.chat.postMessage
|
|
86
|
-
inputs:
|
|
87
|
-
channel: '#general'
|
|
88
|
-
text: '{{ inputs.message }}'
|
|
89
|
-
\`\`\`
|
|
14
|
+
marktoflow init
|
|
15
|
+
marktoflow run workflow.md
|
|
90
16
|
```
|
|
91
17
|
|
|
92
|
-
|
|
18
|
+
Or without installing:
|
|
93
19
|
|
|
94
20
|
```bash
|
|
95
|
-
|
|
96
|
-
export SLACK_BOT_TOKEN=xoxb-your-token
|
|
97
|
-
|
|
98
|
-
# Run workflow
|
|
99
|
-
marktoflow run workflow.md
|
|
100
|
-
|
|
101
|
-
# With inputs
|
|
102
|
-
marktoflow run workflow.md --input message="Hello marktoflow!"
|
|
21
|
+
npx @marktoflow/cli run workflow.md
|
|
103
22
|
```
|
|
104
23
|
|
|
105
|
-
##
|
|
24
|
+
## Features
|
|
106
25
|
|
|
107
|
-
|
|
26
|
+
- **Workflow Execution** — Run markdown workflows from the terminal
|
|
27
|
+
- **Dry Run Mode** — Test workflows without executing actions
|
|
28
|
+
- **OAuth Integration** — Easy OAuth setup for Gmail, Outlook, Google services
|
|
29
|
+
- **Scheduling** — Background cron-based workflow scheduling
|
|
30
|
+
- **Webhooks** — Built-in HTTP server for event-driven workflows
|
|
31
|
+
- **Templates** — Create workflows from built-in templates
|
|
32
|
+
- **Diagnostics** — `marktoflow doctor` for system health checks
|
|
33
|
+
- **Visual Designer** — Launch the GUI with `marktoflow gui`
|
|
108
34
|
|
|
109
|
-
|
|
35
|
+
## Key Commands
|
|
110
36
|
|
|
111
|
-
|
|
37
|
+
### Run a workflow
|
|
112
38
|
|
|
113
39
|
```bash
|
|
114
|
-
# Basic usage
|
|
115
40
|
marktoflow run workflow.md
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
marktoflow run workflow.md --input key=value --input another=value
|
|
119
|
-
|
|
120
|
-
# With config file
|
|
121
|
-
marktoflow run workflow.md --config .marktoflow/config.yaml
|
|
122
|
-
|
|
123
|
-
# Verbose output
|
|
41
|
+
marktoflow run workflow.md --input key=value
|
|
42
|
+
marktoflow run workflow.md --agent copilot --model gpt-4o
|
|
124
43
|
marktoflow run workflow.md --verbose
|
|
44
|
+
marktoflow run workflow.md --dry-run
|
|
125
45
|
```
|
|
126
46
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Initialize a new marktoflow project.
|
|
130
|
-
|
|
131
|
-
```bash
|
|
132
|
-
marktoflow init
|
|
133
|
-
|
|
134
|
-
# Skip prompts
|
|
135
|
-
marktoflow init --yes
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
#### `marktoflow version`
|
|
139
|
-
|
|
140
|
-
Show version information.
|
|
47
|
+
### Validate before running
|
|
141
48
|
|
|
142
49
|
```bash
|
|
143
|
-
marktoflow
|
|
50
|
+
marktoflow workflow validate workflow.md
|
|
144
51
|
```
|
|
145
52
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Run system diagnostics.
|
|
53
|
+
### Connect services
|
|
149
54
|
|
|
150
55
|
```bash
|
|
151
|
-
marktoflow
|
|
56
|
+
marktoflow connect gmail
|
|
57
|
+
marktoflow connect outlook
|
|
152
58
|
```
|
|
153
59
|
|
|
154
|
-
###
|
|
155
|
-
|
|
156
|
-
#### `marktoflow schedule <workflow>`
|
|
157
|
-
|
|
158
|
-
Schedule a workflow to run on a cron schedule.
|
|
60
|
+
### Schedule workflows
|
|
159
61
|
|
|
160
62
|
```bash
|
|
161
|
-
# Schedule workflow
|
|
162
63
|
marktoflow schedule workflow.md --cron "0 9 * * 1-5"
|
|
163
|
-
|
|
164
|
-
# List scheduled workflows
|
|
165
|
-
marktoflow schedule list
|
|
166
|
-
|
|
167
|
-
# Remove schedule
|
|
168
|
-
marktoflow schedule remove <workflow-id>
|
|
169
|
-
|
|
170
|
-
# Start scheduler daemon
|
|
171
64
|
marktoflow schedule start
|
|
172
|
-
|
|
173
|
-
# Stop scheduler daemon
|
|
174
|
-
marktoflow schedule stop
|
|
175
65
|
```
|
|
176
66
|
|
|
177
|
-
###
|
|
178
|
-
|
|
179
|
-
#### `marktoflow webhook <workflow>`
|
|
180
|
-
|
|
181
|
-
Create webhook endpoint for workflow.
|
|
67
|
+
### Start webhook server
|
|
182
68
|
|
|
183
69
|
```bash
|
|
184
|
-
|
|
185
|
-
marktoflow
|
|
186
|
-
|
|
187
|
-
# With secret for signature verification
|
|
188
|
-
marktoflow webhook workflow.md --path /github --secret ${WEBHOOK_SECRET}
|
|
189
|
-
|
|
190
|
-
# List webhooks
|
|
191
|
-
marktoflow webhook list
|
|
192
|
-
|
|
193
|
-
# Stop webhook server
|
|
194
|
-
marktoflow webhook stop
|
|
70
|
+
marktoflow serve --port 3000
|
|
71
|
+
marktoflow serve --socket # Slack Socket Mode
|
|
195
72
|
```
|
|
196
73
|
|
|
197
|
-
###
|
|
198
|
-
|
|
199
|
-
#### `marktoflow worker`
|
|
200
|
-
|
|
201
|
-
Start a queue worker to process workflows.
|
|
74
|
+
### Launch visual editor
|
|
202
75
|
|
|
203
76
|
```bash
|
|
204
|
-
# Start worker (Redis)
|
|
205
|
-
marktoflow worker --queue redis --redis-url redis://localhost:6379
|
|
206
|
-
|
|
207
|
-
# Start worker (RabbitMQ)
|
|
208
|
-
marktoflow worker --queue rabbitmq --rabbitmq-url amqp://localhost
|
|
209
|
-
|
|
210
|
-
# Multiple workers
|
|
211
|
-
marktoflow worker --concurrency 5
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Development
|
|
215
|
-
|
|
216
|
-
#### `marktoflow dry-run <workflow>`
|
|
217
|
-
|
|
218
|
-
Test workflow without executing actions.
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
marktoflow dry-run workflow.md
|
|
222
|
-
|
|
223
|
-
# With mocked responses
|
|
224
|
-
marktoflow dry-run workflow.md --mock slack.chat.postMessage=success
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
#### `marktoflow debug <workflow>`
|
|
228
|
-
|
|
229
|
-
Run workflow with detailed debug logging.
|
|
230
|
-
|
|
231
|
-
```bash
|
|
232
|
-
marktoflow debug workflow.md
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### OAuth Setup
|
|
236
|
-
|
|
237
|
-
#### `marktoflow connect <service>`
|
|
238
|
-
|
|
239
|
-
Set up OAuth for email services.
|
|
240
|
-
|
|
241
|
-
```bash
|
|
242
|
-
# Gmail OAuth
|
|
243
|
-
marktoflow connect gmail
|
|
244
|
-
|
|
245
|
-
# Outlook OAuth
|
|
246
|
-
marktoflow connect outlook
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
This launches a browser for OAuth authentication and stores credentials securely.
|
|
250
|
-
|
|
251
|
-
### Visual Designer
|
|
252
|
-
|
|
253
|
-
#### `marktoflow gui`
|
|
254
|
-
|
|
255
|
-
Start the visual workflow designer.
|
|
256
|
-
|
|
257
|
-
```bash
|
|
258
|
-
# Start GUI server
|
|
259
77
|
marktoflow gui
|
|
260
|
-
|
|
261
|
-
# With options
|
|
262
|
-
marktoflow gui --port 3000 # Custom port
|
|
263
|
-
marktoflow gui --open # Open browser automatically
|
|
78
|
+
marktoflow gui --port 3000 --open
|
|
264
79
|
```
|
|
265
80
|
|
|
266
|
-
###
|
|
267
|
-
|
|
268
|
-
#### `marktoflow new <template>`
|
|
269
|
-
|
|
270
|
-
Create workflow from template.
|
|
81
|
+
### Create from template
|
|
271
82
|
|
|
272
83
|
```bash
|
|
273
|
-
# List available templates
|
|
274
84
|
marktoflow new --list
|
|
275
|
-
|
|
276
|
-
# Create from template
|
|
277
85
|
marktoflow new code-review --output workflows/code-review.md
|
|
278
|
-
|
|
279
|
-
# Interactive wizard
|
|
280
|
-
marktoflow new
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
### Agent & Tool Management
|
|
284
|
-
|
|
285
|
-
#### `marktoflow agents list`
|
|
286
|
-
|
|
287
|
-
List available AI agents.
|
|
288
|
-
|
|
289
|
-
```bash
|
|
290
|
-
marktoflow agents list
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
#### `marktoflow tools list`
|
|
294
|
-
|
|
295
|
-
List available tools and integrations.
|
|
296
|
-
|
|
297
|
-
```bash
|
|
298
|
-
marktoflow tools list
|
|
299
|
-
|
|
300
|
-
# Show tool details
|
|
301
|
-
marktoflow tools show slack
|
|
302
86
|
```
|
|
303
87
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
List available tool bundles.
|
|
88
|
+
### Other commands
|
|
307
89
|
|
|
308
90
|
```bash
|
|
309
|
-
marktoflow
|
|
310
|
-
|
|
311
|
-
#
|
|
312
|
-
marktoflow
|
|
91
|
+
marktoflow init # Initialize project
|
|
92
|
+
marktoflow version # Show version
|
|
93
|
+
marktoflow doctor # System diagnostics
|
|
94
|
+
marktoflow agents list # List available AI agents
|
|
95
|
+
marktoflow tools list # List available integrations
|
|
96
|
+
marktoflow history # View execution history
|
|
313
97
|
```
|
|
314
98
|
|
|
315
|
-
##
|
|
316
|
-
|
|
317
|
-
### Environment Variables
|
|
99
|
+
## Example: Daily Standup
|
|
318
100
|
|
|
319
101
|
```bash
|
|
320
|
-
|
|
321
|
-
MARKTOFLOW_DB_PATH=.marktoflow/state.db
|
|
322
|
-
|
|
323
|
-
# Slack
|
|
324
|
-
SLACK_BOT_TOKEN=xoxb-your-token
|
|
325
|
-
|
|
326
|
-
# GitHub
|
|
327
|
-
GITHUB_TOKEN=ghp_your-token
|
|
328
|
-
|
|
329
|
-
# Jira
|
|
330
|
-
JIRA_HOST=your-domain.atlassian.net
|
|
331
|
-
JIRA_EMAIL=your@email.com
|
|
332
|
-
JIRA_API_TOKEN=your-token
|
|
333
|
-
|
|
334
|
-
# Gmail
|
|
335
|
-
GMAIL_CLIENT_ID=your-client-id
|
|
336
|
-
GMAIL_CLIENT_SECRET=your-secret
|
|
337
|
-
GMAIL_REFRESH_TOKEN=your-refresh-token
|
|
338
|
-
|
|
339
|
-
# Outlook
|
|
340
|
-
OUTLOOK_CLIENT_ID=your-client-id
|
|
341
|
-
OUTLOOK_CLIENT_SECRET=your-secret
|
|
342
|
-
OUTLOOK_TENANT_ID=your-tenant-id
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
### Configuration File
|
|
346
|
-
|
|
347
|
-
`.marktoflow/config.yaml`:
|
|
348
|
-
|
|
349
|
-
```yaml
|
|
350
|
-
state:
|
|
351
|
-
dbPath: .marktoflow/state.db
|
|
352
|
-
|
|
353
|
-
queue:
|
|
354
|
-
type: redis
|
|
355
|
-
redis:
|
|
356
|
-
host: localhost
|
|
357
|
-
port: 6379
|
|
358
|
-
|
|
359
|
-
security:
|
|
360
|
-
rbac:
|
|
361
|
-
enabled: true
|
|
362
|
-
auditLog:
|
|
363
|
-
enabled: true
|
|
364
|
-
|
|
365
|
-
costs:
|
|
366
|
-
budget:
|
|
367
|
-
daily: 100
|
|
368
|
-
monthly: 3000
|
|
369
|
-
|
|
370
|
-
logging:
|
|
371
|
-
level: info
|
|
372
|
-
file: .marktoflow/logs/marktoflow.log
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
## Examples
|
|
376
|
-
|
|
377
|
-
### Daily Standup Report
|
|
378
|
-
|
|
379
|
-
```bash
|
|
380
|
-
# Create workflow
|
|
381
|
-
cat > workflows/daily-standup.md << 'EOF'
|
|
102
|
+
cat > workflows/standup.md << 'EOF'
|
|
382
103
|
---
|
|
383
104
|
workflow:
|
|
384
105
|
id: daily-standup
|
|
385
|
-
name: Daily Standup
|
|
106
|
+
name: Daily Standup
|
|
386
107
|
|
|
387
108
|
tools:
|
|
388
109
|
jira:
|
|
@@ -408,159 +129,13 @@ steps:
|
|
|
408
129
|
text: 'Working on: {{ issues.issues[0].fields.summary }}'
|
|
409
130
|
EOF
|
|
410
131
|
|
|
411
|
-
|
|
412
|
-
marktoflow schedule workflows/daily-standup.md --cron "0 9 * * 1-5"
|
|
413
|
-
|
|
414
|
-
# Start scheduler
|
|
132
|
+
marktoflow schedule workflows/standup.md --cron "0 9 * * 1-5"
|
|
415
133
|
marktoflow schedule start
|
|
416
134
|
```
|
|
417
135
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
```bash
|
|
421
|
-
# Create webhook workflow
|
|
422
|
-
cat > workflows/github-pr.md << 'EOF'
|
|
423
|
-
---
|
|
424
|
-
workflow:
|
|
425
|
-
id: github-pr-review
|
|
426
|
-
name: GitHub PR Review Notification
|
|
427
|
-
|
|
428
|
-
tools:
|
|
429
|
-
slack:
|
|
430
|
-
sdk: '@slack/web-api'
|
|
431
|
-
auth:
|
|
432
|
-
token: '${SLACK_BOT_TOKEN}'
|
|
433
|
-
|
|
434
|
-
inputs:
|
|
435
|
-
pr_url:
|
|
436
|
-
type: string
|
|
437
|
-
pr_title:
|
|
438
|
-
type: string
|
|
439
|
-
author:
|
|
440
|
-
type: string
|
|
441
|
-
|
|
442
|
-
steps:
|
|
443
|
-
- action: slack.chat.postMessage
|
|
444
|
-
inputs:
|
|
445
|
-
channel: '#code-review'
|
|
446
|
-
text: |
|
|
447
|
-
🔍 New PR ready for review
|
|
448
|
-
*{{ inputs.pr_title }}* by {{ inputs.author }}
|
|
449
|
-
{{ inputs.pr_url }}
|
|
450
|
-
EOF
|
|
451
|
-
|
|
452
|
-
# Start webhook server
|
|
453
|
-
marktoflow webhook workflows/github-pr.md --path /github --port 3000
|
|
454
|
-
```
|
|
455
|
-
|
|
456
|
-
### Multi-Agent Workflow
|
|
457
|
-
|
|
458
|
-
```bash
|
|
459
|
-
cat > workflows/research-and-summarize.md << 'EOF'
|
|
460
|
-
---
|
|
461
|
-
workflow:
|
|
462
|
-
id: research-summarize
|
|
463
|
-
name: Research and Summarize
|
|
464
|
-
|
|
465
|
-
tools:
|
|
466
|
-
ollama:
|
|
467
|
-
adapter: ollama
|
|
468
|
-
|
|
469
|
-
agents:
|
|
470
|
-
researcher:
|
|
471
|
-
model: llama2
|
|
472
|
-
role: research
|
|
473
|
-
writer:
|
|
474
|
-
model: llama2
|
|
475
|
-
role: summarize
|
|
476
|
-
|
|
477
|
-
steps:
|
|
478
|
-
- action: ollama.generate
|
|
479
|
-
agent: researcher
|
|
480
|
-
inputs:
|
|
481
|
-
prompt: 'Research recent developments in {{ inputs.topic }}'
|
|
482
|
-
output_variable: research
|
|
483
|
-
|
|
484
|
-
- action: ollama.generate
|
|
485
|
-
agent: writer
|
|
486
|
-
inputs:
|
|
487
|
-
prompt: 'Summarize this research: {{ research.response }}'
|
|
488
|
-
output_variable: summary
|
|
489
|
-
EOF
|
|
490
|
-
|
|
491
|
-
marktoflow run workflows/research-and-summarize.md --input topic="quantum computing"
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
## Troubleshooting
|
|
495
|
-
|
|
496
|
-
### Command not found
|
|
497
|
-
|
|
498
|
-
If `marktoflow` command is not found after global installation:
|
|
499
|
-
|
|
500
|
-
```bash
|
|
501
|
-
# Check npm global bin directory
|
|
502
|
-
npm config get prefix
|
|
503
|
-
|
|
504
|
-
# Add to PATH (macOS/Linux)
|
|
505
|
-
export PATH="$PATH:$(npm config get prefix)/bin"
|
|
506
|
-
|
|
507
|
-
# Or use npx
|
|
508
|
-
npx @marktoflow/cli@alpha version
|
|
509
|
-
```
|
|
510
|
-
|
|
511
|
-
### Permission errors
|
|
512
|
-
|
|
513
|
-
```bash
|
|
514
|
-
# Use npx instead of global install
|
|
515
|
-
npx @marktoflow/cli@alpha run workflow.md
|
|
516
|
-
|
|
517
|
-
# Or configure npm to use local directory
|
|
518
|
-
npm config set prefix ~/.npm-global
|
|
519
|
-
export PATH=~/.npm-global/bin:$PATH
|
|
520
|
-
npm install -g @marktoflow/cli@alpha
|
|
521
|
-
```
|
|
522
|
-
|
|
523
|
-
### OAuth issues
|
|
524
|
-
|
|
525
|
-
```bash
|
|
526
|
-
# Re-run OAuth setup
|
|
527
|
-
marktoflow connect gmail --force
|
|
528
|
-
|
|
529
|
-
# Check stored credentials
|
|
530
|
-
ls -la .marktoflow/credentials/
|
|
531
|
-
```
|
|
532
|
-
|
|
533
|
-
## Development
|
|
534
|
-
|
|
535
|
-
### Install from source
|
|
536
|
-
|
|
537
|
-
```bash
|
|
538
|
-
git clone https://github.com/scottgl9/marktoflow.git
|
|
539
|
-
cd marktoflow
|
|
540
|
-
pnpm install
|
|
541
|
-
pnpm build
|
|
542
|
-
npm link packages/cli
|
|
543
|
-
```
|
|
544
|
-
|
|
545
|
-
### Run tests
|
|
546
|
-
|
|
547
|
-
```bash
|
|
548
|
-
pnpm test
|
|
549
|
-
```
|
|
550
|
-
|
|
551
|
-
## Links
|
|
552
|
-
|
|
553
|
-
- [Main Repository](https://github.com/scottgl9/marktoflow)
|
|
554
|
-
- [Documentation](https://github.com/scottgl9/marktoflow#readme)
|
|
555
|
-
- [Installation Guide](https://github.com/scottgl9/marktoflow/blob/main/docs/INSTALLATION.md)
|
|
556
|
-
- [Publishing Guide](https://github.com/scottgl9/marktoflow/blob/main/docs/PUBLISHING.md)
|
|
557
|
-
- [Core Package](@marktoflow/core)
|
|
558
|
-
- [Integrations Package](@marktoflow/integrations)
|
|
559
|
-
|
|
560
|
-
## Support
|
|
136
|
+
## Contributing
|
|
561
137
|
|
|
562
|
-
|
|
563
|
-
- [Discussions](https://github.com/scottgl9/marktoflow/discussions)
|
|
138
|
+
See the [contributing guide](https://github.com/marktoflow/marktoflow/blob/main/CONTRIBUTING.md).
|
|
564
139
|
|
|
565
140
|
## License
|
|
566
141
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dry-run.d.ts","sourceRoot":"","sources":["../../src/commands/dry-run.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,kBAAkB,CAAC;AAOnE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAyB7F;
|
|
1
|
+
{"version":3,"file":"dry-run.d.ts","sourceRoot":"","sources":["../../src/commands/dry-run.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,kBAAkB,CAAC;AAOnE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAyB7F;AA6MD,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,WAAW,GAAG,YAAY,CAAC;IACnC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,aAAa,CACjC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,GAAE,aAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,CA4HvB;AA4ID;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI,CAwBvF"}
|