Skip to content

Commit

Permalink
added cliPath option
Browse files Browse the repository at this point in the history
  • Loading branch information
mattqs committed Feb 28, 2021
1 parent 7105a9a commit 0c3fe06
Show file tree
Hide file tree
Showing 11 changed files with 7,749 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -31,7 +31,8 @@ var options = new Options(
/* accessKey */ 'your key',
/* secretKey */ 'your key2',
/* sessionToken */ 'your token',
/* currentWorkingDirectory */ null
/* currentWorkingDirectory */ null,
/* cliPath */ 'aws'
);

var aws = new Aws(options);
Expand Down
4 changes: 3 additions & 1 deletion lib/index.d.ts
Expand Up @@ -8,11 +8,13 @@ export interface IOptions {
secretKey?: string;
sessionToken?: string;
currentWorkingDirectory?: string;
cliPath: string;
}
export declare class Options implements IOptions {
accessKey?: string | undefined;
secretKey?: string | undefined;
sessionToken?: string | undefined;
currentWorkingDirectory?: string | undefined;
constructor(accessKey?: string | undefined, secretKey?: string | undefined, sessionToken?: string | undefined, currentWorkingDirectory?: string | undefined);
cliPath: string;
constructor(accessKey?: string | undefined, secretKey?: string | undefined, sessionToken?: string | undefined, currentWorkingDirectory?: string | undefined, cliPath?: string);
}
7 changes: 5 additions & 2 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/index.spec.d.ts
@@ -0,0 +1 @@
export {};
65 changes: 65 additions & 0 deletions lib/index.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/index.spec.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c3fe06

Please sign in to comment.