- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
552 B
JavaScript
26 lines
552 B
JavaScript
'use strict';
|
|
|
|
var copyProps = require('copy-props');
|
|
|
|
var fromTo = {
|
|
'flags.silent': 'silent',
|
|
'flags.continue': 'continue',
|
|
'flags.series': 'series',
|
|
'flags.logLevel': 'logLevel',
|
|
'flags.compactTasks': 'compactTasks',
|
|
'flags.tasksDepth': 'tasksDepth',
|
|
'flags.sortTasks': 'sortTasks',
|
|
};
|
|
|
|
function mergeConfigToCliFlags(opt, config) {
|
|
return copyProps(config, opt, fromTo, defaults);
|
|
}
|
|
|
|
function defaults(cfgInfo, optInfo) {
|
|
if (optInfo.value === undefined) {
|
|
return cfgInfo.value;
|
|
}
|
|
}
|
|
|
|
module.exports = mergeConfigToCliFlags;
|