/**
* Copyright Super iPaaS Integration LLC, an IBM Company 2024
*/
import {Command} from 'commander';
import {buildAction} from '../../actions/build-action.js';
import { BUILD_ALL, BUILD_ASSETS, BUILD_DESC, BUILD_OUTPUT, LOCALDIR_PATH, DEBUG } from '../../constants/command-constants.js';

export const buildCommand: Command = new Command()
	.name('build')
	.description(BUILD_DESC);


buildCommand
	.argument('[projects]')
	.requiredOption('-l, --localDir <localDir>', LOCALDIR_PATH)
	.option('-o, --output <output>', BUILD_OUTPUT)
	.option('-a, --all', BUILD_ALL)
	.option('-n, --names <names>', BUILD_ASSETS)
	.option('-d, --debug', DEBUG)
	.action( buildAction );





