(arg)
| 94 | } |
| 95 | |
| 96 | function toOptionKey(arg) { |
| 97 | if (arg === "--profile-root") return "profileRoot"; |
| 98 | if (arg === "--obsidian-app") return "obsidianApp"; |
| 99 | if (arg === "--obsidian-bin") return "obsidianBin"; |
| 100 | return arg.slice(2); |
| 101 | } |
| 102 | |
| 103 | export function resolveInstanceOptions(rawOptions, cwd = process.cwd()) { |
| 104 | const provisionOptions = resolveProvisionOptions(rawOptions, cwd); |