Skip to content

Commit da16405

Browse files
fix: improve CLI UX
- Update protected data question to be more user-friendly - Fix IPFS link display formatting to prevent truncation
1 parent 9a4bb0e commit da16405

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 can have multiple asset types (email, passport, id etc..). Which one do you want to pin first?",
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)