UNPKG

yaro

Version:

Fast, minimalist, pluggable and functional command line parsing. Create CLIs easily. A wrapper package exporting everything from several Yaro packages.

12 lines (8 loc) 329 B
// SPDX-License-Identifier: MPL-2.0 import { parser } from '../parser/index.js'; import { pipeline, plugins } from '../plugins/index.js'; import createMain from './core.js'; const { command } = createMain({ parser, pipeline, ...plugins }); const yaroCommand = command; export { command, yaroCommand }; export default command;