()
| 73 | |
| 74 | const hasPath = command.args?.find((arg) => arg.includes('path')); |
| 75 | if (hasPath) { |
| 76 | printPathsHelp(); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | function 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`); |
no test coverage detected