MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / printPathsHelp

Function printPathsHelp

cli/src/cli/help.ts:75–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73
74 const hasPath = command.args?.find((arg) => arg.includes('path'));
75 if (hasPath) {
76 printPathsHelp();
77 }
78}
79
80function printPathsHelp() {
81 console.log('');
82 console.log('Remote paths:');
83 console.log(`${ROW_INDENT}Posix paths are always used, regardless of the host OS.`);
84 console.log(`${ROW_INDENT}Node names are used for paths if available. When name cannot be decrypted`);
85 console.log(`${ROW_INDENT}or conflicts with other node(s), node UIDs can be used instead.`);
86 console.log(`${ROW_INDENT}Escape / in node names with a backslash.`);
87 console.log(``);
88 console.log(`${ROW_INDENT}Examples:`);
89 console.log(`${ROW_INDENT}- /my-files/folder/file.txt`);
90 console.log(`${ROW_INDENT}- /my-files/folder/foo\\/bar`);

Callers 1

printCommandUsageFunction · 0.85

Calls 1

logMethod · 0.65

Tested by

no test coverage detected