Skip to content

Commit 0c3fe06

Browse files
added cliPath option
1 parent 7105a9a commit 0c3fe06

File tree

11 files changed

+7749
-10
lines changed

11 files changed

+7749
-10
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ var options = new Options(
3131
/* accessKey */ 'your key',
3232
/* secretKey */ 'your key2',
3333
/* sessionToken */ 'your token',
34-
/* currentWorkingDirectory */ null
34+
/* currentWorkingDirectory */ null,
35+
/* cliPath */ 'aws'
3536
);
3637

3738
var aws = new Aws(options);

lib/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ export interface IOptions {
88
secretKey?: string;
99
sessionToken?: string;
1010
currentWorkingDirectory?: string;
11+
cliPath: string;
1112
}
1213
export declare class Options implements IOptions {
1314
accessKey?: string | undefined;
1415
secretKey?: string | undefined;
1516
sessionToken?: string | undefined;
1617
currentWorkingDirectory?: string | undefined;
17-
constructor(accessKey?: string | undefined, secretKey?: string | undefined, sessionToken?: string | undefined, currentWorkingDirectory?: string | undefined);
18+
cliPath: string;
19+
constructor(accessKey?: string | undefined, secretKey?: string | undefined, sessionToken?: string | undefined, currentWorkingDirectory?: string | undefined, cliPath?: string);
1820
}

lib/index.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.spec.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

lib/index.spec.js

Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.spec.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)