UNPKG

@defra-fish/pocl-job

Version:

Post Office Counter Licence sales processor

15 lines (12 loc) 443 B
'use strict' import poclJob from 'commander' import { execute } from './pocl-processor.js' poclJob .command('execute') .description('Run full process to transfer files from the FTP endpoint, store in S3 and stage all records into Dynamics') .action(execute) // Configure help for unrecognised commands poclJob.command('*').action(() => poclJob.help()) poclJob.parse() poclJob.args.length || poclJob.outputHelp() export default poclJob