(config, options = {})
| 6 | import SolidHost from '../../lib/models/solid-host.mjs' |
| 7 | |
| 8 | export function getAccountManager (config, options = {}) { |
| 9 | const ldp = options.ldp || new LDP(config) |
| 10 | const host = options.host || SolidHost.from({ port: config.port, serverUri: config.serverUri }) |
| 11 | return AccountManager.from({ |
| 12 | host, |
| 13 | store: ldp, |
| 14 | multiuser: config.multiuser |
| 15 | }) |
| 16 | } |
| 17 | |
| 18 | export function loadConfig (program, options) { |
| 19 | let argv = { |
no test coverage detected