Skip to content

Commit abb9ef6

Browse files
committed
docs(cli): update usage text with context terminology and simplified execute examples
1 parent 3f16689 commit abb9ef6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/cli/src/utils/display.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export const usageText = `
1616
jobs up Start combined server (jobs runtime)
1717
1818
Execution Engine:
19-
project Manage Constructive projects (init, list, use, info, delete)
19+
context Manage contexts (create, list, use, current, delete)
2020
auth Manage authentication (set-token, status, logout)
21-
execute Execute JSON protocol operations against Constructive APIs
21+
execute Execute GraphQL queries against configured endpoints
2222
2323
Global Options:
2424
-h, --help Display this help information
@@ -38,9 +38,9 @@ export const usageText = `
3838
cnc jobs up Start combined server (jobs runtime)
3939
4040
# Execution Engine
41-
cnc project init my-app --domain constructive.io
42-
cnc auth set-token <token>
43-
cnc execute --model database --action findMany --first 10
41+
cnc context create my-api --endpoint https://api.example.com/graphql
42+
cnc auth set-token
43+
cnc execute --query 'query { __typename }'
4444
4545
Database Operations:
4646
For database migrations, packages, and deployment, use pgpm:

0 commit comments

Comments
 (0)