Skip to content

Commit f1a4380

Browse files
feat: improve CLI prompts and IPFS link display (#244)
1 parent 392c728 commit f1a4380

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cli/src/cmd/mock-protected-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function mockProtectedData() {
2727
type: 'text',
2828
name: 'key',
2929
message:
30-
"What key do you want to use to store the piece of data? (use '.' to access nested keys)",
30+
"Protected Data is an object holding different asset types (email, passport, ID, etc.). Define a key to access it? (use '.' to access nested keys)",
3131
});
3232

3333
// check key is valid

cli/src/cmd/run.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ export async function run({
255255
const task = await iexec.task.show(taskid);
256256
const { location } = task.results as { storage: string; location?: string };
257257
spinner.succeed(`Task finalized
258-
You can download the result of your task here: ${color.link(`${chainConfig.ipfsGatewayUrl}${location}`)}`);
258+
You can download the result of your task here:
259+
${color.link(`${chainConfig.ipfsGatewayUrl}${location}`)}`);
259260

260261
const downloadAnswer = await spinner.prompt({
261262
type: 'confirm',

0 commit comments

Comments
 (0)