Accept argument to change initial working directory

This commit is contained in:
Asher
2019-07-12 18:41:56 -05:00
parent e22791ec88
commit 8dcc1e3567
3 changed files with 46 additions and 26 deletions

View File

@ -127,6 +127,9 @@ const main = async (): Promise<void> => {
certKey: args["cert-key"],
auth: typeof args.auth !== "undefined" ? args.auth : true,
password: process.env.PASSWORD,
folderUri: args["_"] && args["_"].length > 1
? args["_"][args["_"].length - 1]
: undefined,
};
if (!options.host) {