otiai10/too.js

View on GitHub
src/lib/flags.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Spec } from "./args";

const specs: Spec[] = [
  {
    add: (val: string[], flag: unknown, next: string) => val.push(next),
    flags: ["-c", "--cmd"],
    name: "cmd",
    value: [],
  },
];

export default specs;