UNPKG

biteagle-cli

Version:

Biteagle project command line interface.

33 lines (27 loc) 828 B
/** * @fileoverview Unified export modules * @author Biteagle */ // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ import Add from './add/index.js' // ------------------------------------------------------------------------------ // Helpers // ------------------------------------------------------------------------------ /** * Execute a command that does not exist or is incorrect * @param {any} command command name * @param {any} args command arguments * @returns {() => void} */ function Fail (command, args) { return () => { console.log(`${command} option is not exist`) console.log('Run "biteagle --help" for more info') } } export { Add, Fail }