Function: siteProfileDir()
function siteProfileDir(site, __namedParameters?): string;
Defined in: home.ts:38
The browser profile folder the moodle command uses for an account on a site:
sites/<host>/profiles/<as>. Without as, the site's default (the account last logged in with,
named in its site.json); MoodleError with code not-found when the command hasn't logged in to
the site. Pass it as profileDir to share the command's session; home is ~/.moodle-driver
unless given.
Parameters
| Parameter | Type |
|---|---|
site | string |
__namedParameters | { as?: string; home?: string; } |
__namedParameters.as? | string |
__namedParameters.home? | string |
Returns
string