@cloud-copilot/iam-collect
Version:
Collect IAM information from AWS Accounts
19 lines • 633 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.customCommandFactory = customCommandFactory;
/**
* Typescript factory function to create a strongly typed custom command implementation
*
* @param CustomContext additional custom client context to be merged into the command context
*
* @returns a factory function that creates a custom command implementation
*/
function customCommandFactory() {
return (options) => {
return {
commandName: () => options.command.name,
execute: options.execute
};
};
}
//# sourceMappingURL=AbstractCommand.js.map