@roarkanalytics/cli 0.1.0

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.
Files changed (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +225 -0
  3. package/bin.d.ts +2 -0
  4. package/bin.js +14 -0
  5. package/commands.d.ts +5 -0
  6. package/commands.js +3553 -0
  7. package/completions.d.ts +1 -0
  8. package/completions.js +13 -0
  9. package/index.d.ts +6 -0
  10. package/index.js +26 -0
  11. package/man/roark-agent-create.1 +99 -0
  12. package/man/roark-agent-endpoint-create.1 +108 -0
  13. package/man/roark-agent-endpoint-get.1 +93 -0
  14. package/man/roark-agent-endpoint-list.1 +102 -0
  15. package/man/roark-agent-endpoint-update.1 +103 -0
  16. package/man/roark-agent-get.1 +93 -0
  17. package/man/roark-agent-list.1 +99 -0
  18. package/man/roark-agent-update.1 +100 -0
  19. package/man/roark-call-create.1 +150 -0
  20. package/man/roark-call-get.1 +93 -0
  21. package/man/roark-call-list.1 +111 -0
  22. package/man/roark-call-metric-list.1 +100 -0
  23. package/man/roark-call-sentiment-run-list.1 +93 -0
  24. package/man/roark-call-transcript-get.1 +97 -0
  25. package/man/roark-config-apply.1 +96 -0
  26. package/man/roark-config-diff.1 +96 -0
  27. package/man/roark-customer-flow-create.1 +97 -0
  28. package/man/roark-customer-flow-delete.1 +93 -0
  29. package/man/roark-customer-flow-edge-case-create.1 +112 -0
  30. package/man/roark-customer-flow-edge-case-delete.1 +96 -0
  31. package/man/roark-customer-flow-edge-case-promote.1 +96 -0
  32. package/man/roark-customer-flow-edge-case-update.1 +118 -0
  33. package/man/roark-customer-flow-get.1 +93 -0
  34. package/man/roark-customer-flow-graph-replace.1 +100 -0
  35. package/man/roark-customer-flow-happy-path-update.1 +115 -0
  36. package/man/roark-customer-flow-list.1 +105 -0
  37. package/man/roark-customer-flow-update.1 +109 -0
  38. package/man/roark-health.1 +89 -0
  39. package/man/roark-http-request-definition-create.1 +108 -0
  40. package/man/roark-http-request-definition-get.1 +93 -0
  41. package/man/roark-http-request-definition-list.1 +96 -0
  42. package/man/roark-http-request-definition-update.1 +109 -0
  43. package/man/roark-metric-collection-job-create.1 +99 -0
  44. package/man/roark-metric-collection-job-get.1 +93 -0
  45. package/man/roark-metric-collection-job-list.1 +99 -0
  46. package/man/roark-metric-definition-create.1 +100 -0
  47. package/man/roark-metric-definition-list.1 +89 -0
  48. package/man/roark-metric-policy-create.1 +105 -0
  49. package/man/roark-metric-policy-delete.1 +93 -0
  50. package/man/roark-metric-policy-get.1 +93 -0
  51. package/man/roark-metric-policy-list.1 +99 -0
  52. package/man/roark-metric-policy-update.1 +106 -0
  53. package/man/roark-simulation-environment-get.1 +93 -0
  54. package/man/roark-simulation-environment-list.1 +96 -0
  55. package/man/roark-simulation-job-get.1 +93 -0
  56. package/man/roark-simulation-job-lookup.1 +96 -0
  57. package/man/roark-simulation-persona-create.1 +156 -0
  58. package/man/roark-simulation-persona-get.1 +93 -0
  59. package/man/roark-simulation-persona-list.1 +99 -0
  60. package/man/roark-simulation-persona-update.1 +160 -0
  61. package/man/roark-simulation-plan-create.1 +138 -0
  62. package/man/roark-simulation-plan-delete.1 +93 -0
  63. package/man/roark-simulation-plan-get.1 +93 -0
  64. package/man/roark-simulation-plan-job-get.1 +93 -0
  65. package/man/roark-simulation-plan-job-list.1 +108 -0
  66. package/man/roark-simulation-plan-job-start.1 +97 -0
  67. package/man/roark-simulation-plan-list.1 +102 -0
  68. package/man/roark-simulation-plan-update.1 +142 -0
  69. package/man/roark-simulation-run.1 +97 -0
  70. package/man/roark-webhook-create.1 +102 -0
  71. package/man/roark-webhook-delete.1 +93 -0
  72. package/man/roark-webhook-get.1 +93 -0
  73. package/man/roark-webhook-list.1 +96 -0
  74. package/man/roark.1 +287 -0
  75. package/package.json +102 -0
  76. package/runtime/commands/api.d.ts +26 -0
  77. package/runtime/commands/api.js +85 -0
  78. package/runtime/commands/auth.d.ts +9 -0
  79. package/runtime/commands/auth.js +111 -0
  80. package/runtime/commands/completion.d.ts +9 -0
  81. package/runtime/commands/completion.js +42 -0
  82. package/runtime/commands/config.d.ts +15 -0
  83. package/runtime/commands/config.js +125 -0
  84. package/runtime/config.d.ts +65 -0
  85. package/runtime/config.js +163 -0
  86. package/runtime/confirm.d.ts +16 -0
  87. package/runtime/confirm.js +34 -0
  88. package/runtime/errors.d.ts +45 -0
  89. package/runtime/errors.js +91 -0
  90. package/runtime/input.d.ts +52 -0
  91. package/runtime/input.js +211 -0
  92. package/runtime/output.d.ts +41 -0
  93. package/runtime/output.js +90 -0
  94. package/runtime/program.d.ts +45 -0
  95. package/runtime/program.js +305 -0
  96. package/runtime/types.d.ts +53 -0
  97. package/runtime/types.js +10 -0
  98. package/version.d.ts +1 -0
  99. package/version.js +8 -0
@@ -0,0 +1,96 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-ENVIRONMENT\-LIST" "1" "" "roark-simulation-environment-list" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-environment\-list \- List environments
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation environment list
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Returns a paginated list of environments: the project's own plus the environments Roark curates and shares across every project. Reference one by id when setting a customer flow variant's environment.
10
+ .SH "API"
11
+ GET /v1/simulation/environment
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-limit\fR \fI<value>\fR
15
+ Optional.
16
+ .TP
17
+ \fB\-\-after\fR \fI<value>\fR
18
+ Optional.
19
+ .SH "GLOBAL OPTIONS"
20
+ .TP
21
+ \fB\-\-data\fR \fI<json>\fR
22
+ Request body as JSON, or @file to read one (@\- for stdin).
23
+ .TP
24
+ \fB\-y\fR, \fB\-\-yes\fR
25
+ Skip confirmation prompts.
26
+ .TP
27
+ \fB\-\-no\-input\fR
28
+ Never prompt; fail instead.
29
+ .TP
30
+ \fB\-\-base\-url\fR \fI<url>\fR
31
+ API base URL.
32
+ .TP
33
+ \fB\-\-token\fR \fI<token>\fR
34
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
35
+ .TP
36
+ \fB\-\-timeout\fR \fI<ms>\fR
37
+ Request timeout in milliseconds.
38
+ .TP
39
+ \fB\-\-max\-retries\fR \fI<count>\fR
40
+ Retries for retryable failures.
41
+ .TP
42
+ \fB\-\-format\fR \fI<format>\fR
43
+ Output format: auto, json, jsonl, plain.
44
+ .TP
45
+ \fB\-\-json\fR
46
+ Shorthand for \-\-format json.
47
+ .TP
48
+ \fB\-\-no\-color\fR
49
+ Disable colour.
50
+ .TP
51
+ \fB\-q\fR, \fB\-\-quiet\fR
52
+ Suppress non\-essential output.
53
+ .TP
54
+ \fB\-\-allow\-project\-base\-url\fR
55
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
56
+ .SH "EXAMPLES"
57
+ .PP
58
+ .RS 4
59
+ .nf
60
+ roark simulation environment list
61
+ .fi
62
+ .RE
63
+ .SH "ENVIRONMENT"
64
+ .TP
65
+ \fBROARK_API_BEARER_TOKEN\fR
66
+ Bearer token used when \-\-token is not given.
67
+ .TP
68
+ \fBROARK_BASE_URL\fR
69
+ API base URL.
70
+ .TP
71
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
72
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
73
+ .TP
74
+ \fBNO_COLOR\fR
75
+ Disables colour when set to any value.
76
+ .SH "EXIT STATUS"
77
+ .TP
78
+ \fB0\fR
79
+ The command succeeded.
80
+ .TP
81
+ \fB1\fR
82
+ The API rejected the request.
83
+ .TP
84
+ \fB2\fR
85
+ The command line was wrong.
86
+ .TP
87
+ \fB3\fR
88
+ No credential, or the credential was refused.
89
+ .TP
90
+ \fB4\fR
91
+ The addressed resource does not exist.
92
+ .TP
93
+ \fB5\fR
94
+ The request never completed: connection, timeout, or abort.
95
+ .SH "SEE ALSO"
96
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-JOB\-GET" "1" "" "roark-simulation-job-get" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-job\-get \- Get simulation by ID
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation job get
7
+ \fIjob\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Get a individual simulation run directly by its ID. This is generally part of a larger simulation run plan job.
10
+ .SH "API"
11
+ GET /v1/simulation/job/{jobId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIjob\-id\fR
15
+ Simulation job ID
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation job get <job\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
@@ -0,0 +1,96 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-JOB\-LOOKUP" "1" "" "roark-simulation-job-lookup" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-job\-lookup \- Lookup by phone number
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation job lookup
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Find the matching simulation using the number used by the Roark simulation agent.
10
+ .SH "API"
11
+ GET /v1/simulation/job/lookup
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-roark\-phone\-number\fR \fI<value>\fR
15
+ Phone number provisioned by Roark for the simulation job in E.164 format. In the case of an inbound simulation, this is the number that calls your agent; in the case of an outbound simulation, this is the number you call from your agent. Required.
16
+ .TP
17
+ \fB\-\-call\-received\-at\fR \fI<value>\fR
18
+ ISO 8601 timestamp of when the call was received. Alternatively, any time between the start and end of the call is valid. Defaults to the current time, which fetches any jobs that are currently ongoing. Optional.
19
+ .SH "GLOBAL OPTIONS"
20
+ .TP
21
+ \fB\-\-data\fR \fI<json>\fR
22
+ Request body as JSON, or @file to read one (@\- for stdin).
23
+ .TP
24
+ \fB\-y\fR, \fB\-\-yes\fR
25
+ Skip confirmation prompts.
26
+ .TP
27
+ \fB\-\-no\-input\fR
28
+ Never prompt; fail instead.
29
+ .TP
30
+ \fB\-\-base\-url\fR \fI<url>\fR
31
+ API base URL.
32
+ .TP
33
+ \fB\-\-token\fR \fI<token>\fR
34
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
35
+ .TP
36
+ \fB\-\-timeout\fR \fI<ms>\fR
37
+ Request timeout in milliseconds.
38
+ .TP
39
+ \fB\-\-max\-retries\fR \fI<count>\fR
40
+ Retries for retryable failures.
41
+ .TP
42
+ \fB\-\-format\fR \fI<format>\fR
43
+ Output format: auto, json, jsonl, plain.
44
+ .TP
45
+ \fB\-\-json\fR
46
+ Shorthand for \-\-format json.
47
+ .TP
48
+ \fB\-\-no\-color\fR
49
+ Disable colour.
50
+ .TP
51
+ \fB\-q\fR, \fB\-\-quiet\fR
52
+ Suppress non\-essential output.
53
+ .TP
54
+ \fB\-\-allow\-project\-base\-url\fR
55
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
56
+ .SH "EXAMPLES"
57
+ .PP
58
+ .RS 4
59
+ .nf
60
+ roark simulation job lookup \-\-roark\-phone\-number <value>
61
+ .fi
62
+ .RE
63
+ .SH "ENVIRONMENT"
64
+ .TP
65
+ \fBROARK_API_BEARER_TOKEN\fR
66
+ Bearer token used when \-\-token is not given.
67
+ .TP
68
+ \fBROARK_BASE_URL\fR
69
+ API base URL.
70
+ .TP
71
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
72
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
73
+ .TP
74
+ \fBNO_COLOR\fR
75
+ Disables colour when set to any value.
76
+ .SH "EXIT STATUS"
77
+ .TP
78
+ \fB0\fR
79
+ The command succeeded.
80
+ .TP
81
+ \fB1\fR
82
+ The API rejected the request.
83
+ .TP
84
+ \fB2\fR
85
+ The command line was wrong.
86
+ .TP
87
+ \fB3\fR
88
+ No credential, or the credential was refused.
89
+ .TP
90
+ \fB4\fR
91
+ The addressed resource does not exist.
92
+ .TP
93
+ \fB5\fR
94
+ The request never completed: connection, timeout, or abort.
95
+ .SH "SEE ALSO"
96
+ .BR roark (1)
@@ -0,0 +1,156 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PERSONA\-CREATE" "1" "" "roark-simulation-persona-create" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-persona\-create \- Create a new persona
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation persona create
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Creates a new persona for the authenticated project.
10
+ .SH "API"
11
+ POST /v1/persona
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-name\fR \fI<value>\fR
15
+ The name the agent will identify as during conversations Required.
16
+ .TP
17
+ \fB\-\-description\fR \fI<value>\fR
18
+ Human\-readable description of the persona Optional.
19
+ .TP
20
+ \fB\-\-language\fR \fI<value>\fR
21
+ Primary language ISO 639\-1 code for the persona One of: EN, ES, DE, HI, FR, NL, AR, EL, IT, ID, TH, JA, TL, MS, ZH, TR, PT, HE. Required.
22
+ .TP
23
+ \fB\-\-secondary\-language\fR \fI<value>\fR
24
+ Secondary language ISO 639\-1 code for code\-switching (e.g., Hinglish, Spanglish) One of: EN. Optional.
25
+ .TP
26
+ \fB\-\-understood\-languages\fR \fI<value>\fR
27
+ Languages the persona can understand. Defaults to the languages the persona speaks. One of: EN, ES, DE, HI, FR, NL, AR, EL, IT, ID, TH, JA, TL, MS, ZH, TR, PT, HE. Repeatable. Optional.
28
+ .TP
29
+ \fB\-\-accent\fR \fI<value>\fR
30
+ Accent of the persona, defined using ISO 3166\-1 alpha\-2 country codes with optional variants One of: US, US_X_SOUTH, GB, ES, DE, IN, FR, NL, SA, GR, AU, IT, ID, TH, JP, NZ, PH, SG, MY, HK, TR, PT, IL. Required.
31
+ .TP
32
+ \fB\-\-gender\fR \fI<value>\fR
33
+ Gender of the persona One of: MALE, FEMALE. Required.
34
+ .TP
35
+ \fB\-\-background\-noise\fR \fI<value>\fR
36
+ Background noise setting One of: NONE, AIRPORT, CHILDREN_PLAYING, CITY, COFFEE_SHOP, DRIVING, OFFICE, THUNDERSTORM. Optional.
37
+ .TP
38
+ \fB\-\-speech\-pace\fR \fI<value>\fR
39
+ Speech pace of the persona One of: SUPER_SLOW, SLOW, NORMAL, FAST, SUPER_FAST. Optional.
40
+ .TP
41
+ \fB\-\-speech\-clarity\fR \fI<value>\fR
42
+ Speech clarity of the persona One of: CLEAR, VAGUE, RAMBLING. Optional.
43
+ .TP
44
+ \fB\-\-has\-disfluencies\fR
45
+ Whether the persona uses filler words like "um" and "uh" Optional.
46
+ .TP
47
+ \fB\-\-base\-emotion\fR \fI<value>\fR
48
+ Base emotional state of the persona One of: NEUTRAL, CHEERFUL, CONFUSED, FRUSTRATED, SKEPTICAL, RUSHED, DISTRACTED. Optional.
49
+ .TP
50
+ \fB\-\-intent\-clarity\fR \fI<value>\fR
51
+ How clearly the persona expresses their intentions One of: CLEAR, INDIRECT, VAGUE. Optional.
52
+ .TP
53
+ \fB\-\-confirmation\-style\fR \fI<value>\fR
54
+ How the persona confirms information One of: EXPLICIT, VAGUE. Optional.
55
+ .TP
56
+ \fB\-\-memory\-reliability\fR \fI<value>\fR
57
+ How reliable the persona's memory is One of: HIGH, LOW. Optional.
58
+ .TP
59
+ \fB\-\-response\-timing\fR \fI<value>\fR
60
+ Controls how quickly the persona responds to pauses in conversation (QUICK, NORMAL, RELAXED) One of: RELAXED, NORMAL, QUICK. Optional.
61
+ .TP
62
+ \fB\-\-backstory\-prompt\fR \fI<value>\fR
63
+ Background story and behavioral patterns for the persona Optional.
64
+ .TP
65
+ \fB\-\-idle\-messages\fR \fI<value>\fR
66
+ Messages the persona will say when the agent goes silent during a call. Defaults to language\-appropriate phrases when omitted or sent as null. Repeatable. Optional.
67
+ .TP
68
+ \fB\-\-idle\-timeout\-seconds\fR \fI<value>\fR
69
+ Seconds of silence before the persona sends an idle message Optional.
70
+ .TP
71
+ \fB\-\-idle\-message\-max\-spoken\-count\fR \fI<value>\fR
72
+ Maximum number of idle messages the persona will send before giving up Optional.
73
+ .TP
74
+ \fB\-\-idle\-message\-reset\-count\-on\-user\-speech\-enabled\fR
75
+ Whether the idle message counter resets when the agent speaks Optional.
76
+ .TP
77
+ \fB\-\-properties\fR \fI<value>\fR
78
+ Additional custom properties about the persona Optional.
79
+ .SH "GLOBAL OPTIONS"
80
+ .TP
81
+ \fB\-\-data\fR \fI<json>\fR
82
+ Request body as JSON, or @file to read one (@\- for stdin).
83
+ .TP
84
+ \fB\-y\fR, \fB\-\-yes\fR
85
+ Skip confirmation prompts.
86
+ .TP
87
+ \fB\-\-no\-input\fR
88
+ Never prompt; fail instead.
89
+ .TP
90
+ \fB\-\-base\-url\fR \fI<url>\fR
91
+ API base URL.
92
+ .TP
93
+ \fB\-\-token\fR \fI<token>\fR
94
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
95
+ .TP
96
+ \fB\-\-timeout\fR \fI<ms>\fR
97
+ Request timeout in milliseconds.
98
+ .TP
99
+ \fB\-\-max\-retries\fR \fI<count>\fR
100
+ Retries for retryable failures.
101
+ .TP
102
+ \fB\-\-format\fR \fI<format>\fR
103
+ Output format: auto, json, jsonl, plain.
104
+ .TP
105
+ \fB\-\-json\fR
106
+ Shorthand for \-\-format json.
107
+ .TP
108
+ \fB\-\-no\-color\fR
109
+ Disable colour.
110
+ .TP
111
+ \fB\-q\fR, \fB\-\-quiet\fR
112
+ Suppress non\-essential output.
113
+ .TP
114
+ \fB\-\-allow\-project\-base\-url\fR
115
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
116
+ .SH "EXAMPLES"
117
+ .PP
118
+ .RS 4
119
+ .nf
120
+ roark simulation persona create \-\-name <value> \-\-language <value> \-\-accent <value> \-\-gender <value>
121
+ .fi
122
+ .RE
123
+ .SH "ENVIRONMENT"
124
+ .TP
125
+ \fBROARK_API_BEARER_TOKEN\fR
126
+ Bearer token used when \-\-token is not given.
127
+ .TP
128
+ \fBROARK_BASE_URL\fR
129
+ API base URL.
130
+ .TP
131
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
132
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
133
+ .TP
134
+ \fBNO_COLOR\fR
135
+ Disables colour when set to any value.
136
+ .SH "EXIT STATUS"
137
+ .TP
138
+ \fB0\fR
139
+ The command succeeded.
140
+ .TP
141
+ \fB1\fR
142
+ The API rejected the request.
143
+ .TP
144
+ \fB2\fR
145
+ The command line was wrong.
146
+ .TP
147
+ \fB3\fR
148
+ No credential, or the credential was refused.
149
+ .TP
150
+ \fB4\fR
151
+ The addressed resource does not exist.
152
+ .TP
153
+ \fB5\fR
154
+ The request never completed: connection, timeout, or abort.
155
+ .SH "SEE ALSO"
156
+ .BR roark (1)
@@ -0,0 +1,93 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PERSONA\-GET" "1" "" "roark-simulation-persona-get" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-persona\-get \- Get persona by ID
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation persona get
7
+ \fIpersona\-id\fR [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Returns a specific persona by its ID.
10
+ .SH "API"
11
+ GET /v1/persona/{personaId}
12
+ .SH "ARGUMENTS"
13
+ .TP
14
+ \fIpersona\-id\fR
15
+ The ID of the persona to retrieve
16
+ .SH "GLOBAL OPTIONS"
17
+ .TP
18
+ \fB\-\-data\fR \fI<json>\fR
19
+ Request body as JSON, or @file to read one (@\- for stdin).
20
+ .TP
21
+ \fB\-y\fR, \fB\-\-yes\fR
22
+ Skip confirmation prompts.
23
+ .TP
24
+ \fB\-\-no\-input\fR
25
+ Never prompt; fail instead.
26
+ .TP
27
+ \fB\-\-base\-url\fR \fI<url>\fR
28
+ API base URL.
29
+ .TP
30
+ \fB\-\-token\fR \fI<token>\fR
31
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
32
+ .TP
33
+ \fB\-\-timeout\fR \fI<ms>\fR
34
+ Request timeout in milliseconds.
35
+ .TP
36
+ \fB\-\-max\-retries\fR \fI<count>\fR
37
+ Retries for retryable failures.
38
+ .TP
39
+ \fB\-\-format\fR \fI<format>\fR
40
+ Output format: auto, json, jsonl, plain.
41
+ .TP
42
+ \fB\-\-json\fR
43
+ Shorthand for \-\-format json.
44
+ .TP
45
+ \fB\-\-no\-color\fR
46
+ Disable colour.
47
+ .TP
48
+ \fB\-q\fR, \fB\-\-quiet\fR
49
+ Suppress non\-essential output.
50
+ .TP
51
+ \fB\-\-allow\-project\-base\-url\fR
52
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
53
+ .SH "EXAMPLES"
54
+ .PP
55
+ .RS 4
56
+ .nf
57
+ roark simulation persona get <persona\-id>
58
+ .fi
59
+ .RE
60
+ .SH "ENVIRONMENT"
61
+ .TP
62
+ \fBROARK_API_BEARER_TOKEN\fR
63
+ Bearer token used when \-\-token is not given.
64
+ .TP
65
+ \fBROARK_BASE_URL\fR
66
+ API base URL.
67
+ .TP
68
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
69
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
70
+ .TP
71
+ \fBNO_COLOR\fR
72
+ Disables colour when set to any value.
73
+ .SH "EXIT STATUS"
74
+ .TP
75
+ \fB0\fR
76
+ The command succeeded.
77
+ .TP
78
+ \fB1\fR
79
+ The API rejected the request.
80
+ .TP
81
+ \fB2\fR
82
+ The command line was wrong.
83
+ .TP
84
+ \fB3\fR
85
+ No credential, or the credential was refused.
86
+ .TP
87
+ \fB4\fR
88
+ The addressed resource does not exist.
89
+ .TP
90
+ \fB5\fR
91
+ The request never completed: connection, timeout, or abort.
92
+ .SH "SEE ALSO"
93
+ .BR roark (1)
@@ -0,0 +1,99 @@
1
+ .\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
2
+ .TH "ROARK\-SIMULATION\-PERSONA\-LIST" "1" "" "roark-simulation-persona-list" "Roark Analytics API Manual"
3
+ .SH "NAME"
4
+ roark\-simulation\-persona\-list \- List personas
5
+ .SH "SYNOPSIS"
6
+ .B roark simulation persona list
7
+ [\fIoptions\fR]
8
+ .SH "DESCRIPTION"
9
+ Returns a paginated list of personas for the authenticated project.
10
+ .SH "API"
11
+ GET /v1/persona
12
+ .SH "OPTIONS"
13
+ .TP
14
+ \fB\-\-limit\fR \fI<value>\fR
15
+ Optional.
16
+ .TP
17
+ \fB\-\-after\fR \fI<value>\fR
18
+ Optional.
19
+ .TP
20
+ \fB\-\-search\-text\fR \fI<value>\fR
21
+ Optional.
22
+ .SH "GLOBAL OPTIONS"
23
+ .TP
24
+ \fB\-\-data\fR \fI<json>\fR
25
+ Request body as JSON, or @file to read one (@\- for stdin).
26
+ .TP
27
+ \fB\-y\fR, \fB\-\-yes\fR
28
+ Skip confirmation prompts.
29
+ .TP
30
+ \fB\-\-no\-input\fR
31
+ Never prompt; fail instead.
32
+ .TP
33
+ \fB\-\-base\-url\fR \fI<url>\fR
34
+ API base URL.
35
+ .TP
36
+ \fB\-\-token\fR \fI<token>\fR
37
+ Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
38
+ .TP
39
+ \fB\-\-timeout\fR \fI<ms>\fR
40
+ Request timeout in milliseconds.
41
+ .TP
42
+ \fB\-\-max\-retries\fR \fI<count>\fR
43
+ Retries for retryable failures.
44
+ .TP
45
+ \fB\-\-format\fR \fI<format>\fR
46
+ Output format: auto, json, jsonl, plain.
47
+ .TP
48
+ \fB\-\-json\fR
49
+ Shorthand for \-\-format json.
50
+ .TP
51
+ \fB\-\-no\-color\fR
52
+ Disable colour.
53
+ .TP
54
+ \fB\-q\fR, \fB\-\-quiet\fR
55
+ Suppress non\-essential output.
56
+ .TP
57
+ \fB\-\-allow\-project\-base\-url\fR
58
+ Send the stored credential to a base URL set by a project .roark.json. Refused by default.
59
+ .SH "EXAMPLES"
60
+ .PP
61
+ .RS 4
62
+ .nf
63
+ roark simulation persona list
64
+ .fi
65
+ .RE
66
+ .SH "ENVIRONMENT"
67
+ .TP
68
+ \fBROARK_API_BEARER_TOKEN\fR
69
+ Bearer token used when \-\-token is not given.
70
+ .TP
71
+ \fBROARK_BASE_URL\fR
72
+ API base URL.
73
+ .TP
74
+ \fBROARK_ALLOW_PROJECT_BASE_URL\fR
75
+ Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
76
+ .TP
77
+ \fBNO_COLOR\fR
78
+ Disables colour when set to any value.
79
+ .SH "EXIT STATUS"
80
+ .TP
81
+ \fB0\fR
82
+ The command succeeded.
83
+ .TP
84
+ \fB1\fR
85
+ The API rejected the request.
86
+ .TP
87
+ \fB2\fR
88
+ The command line was wrong.
89
+ .TP
90
+ \fB3\fR
91
+ No credential, or the credential was refused.
92
+ .TP
93
+ \fB4\fR
94
+ The addressed resource does not exist.
95
+ .TP
96
+ \fB5\fR
97
+ The request never completed: connection, timeout, or abort.
98
+ .SH "SEE ALSO"
99
+ .BR roark (1)