You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4156e21
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -332,7 +341,7 @@ async function downloadToOutput<Operation extends DownloadOperation>(
332
341
awaitresponse.body.cancel()
333
342
thrownewSimApiError(
334
343
embedded
335
-
? `Refusing to put ${contentType??'unknown content'} in a text result. Use --output-file <path>.`
344
+
? `Refusing to put ${contentType??'unknown content'} in a text result. Use --output-file <path>${metadataCommand ? `, or run \`sim ${metadataCommand}\` for its metadata` : ''}.`
336
345
: `Refusing to write ${contentType??'unknown content'} to an interactive terminal. Use --output-file <path> or pipe stdout.`,
337
346
0
338
347
)
@@ -426,7 +435,15 @@ export function attachFileGet(files: Command): void {
426
435
.option('-o, --output-file <path>','Write content to a file instead of stdout')
427
436
.option('--force','Overwrite --output-file if it already exists')
Copy file name to clipboardExpand all lines: packages/sim-cli/src/commands/protocol/knowledge-export.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ export function attachKnowledgeExport(knowledge: Command): void {
80
80
awaitresponse.body.cancel()
81
81
thrownewSimApiError(
82
82
embedded
83
-
? `Refusing to put ${contentType??'unknown content'} in a text result. Use --output-file <path>.`
83
+
? `Refusing to put ${contentType??'unknown content'} in a text result. Use --output-file <path>, or run \`sim knowledge get ${knowledgeBaseId}\` for its metadata.`
84
84
: `Refusing to write ${contentType??'unknown content'} to an interactive terminal. Use --output-file <path> or pipe stdout.`,
0 commit comments