## parser ```javascript export function parser< const flags extends readonly Flag, string>[], >(...flags: flags): ProgramParser { ``` A parser is composed of an array of flags [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L26-L28) ## help ```javascript export function help< const flags extends readonly Flag, string>[], >(flagParser: ProgramParser): string { ``` Creates a help text for a given program parser [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L399-L401) ## allErrors ```javascript export function allErrors< const flags extends readonly Flag, string>[], >(program: Program): string[] { ``` Reports all errors in a program, ignoring missing flags. [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L438-L440) ## allMissing ```javascript export function allMissing< const flags extends readonly Flag, string>[], >(program: Program, ignore: string[]): string[] { ``` Reports missing flags, ignoring the ones you don't care about. [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L463-L465) ## allValues ```javascript export function allValues< const flags extends readonly Flag, string>[], >(program: Program): ProgramValues { ``` Gets the Ok values out of the program as the raw type (i.e a `string` from `string()`) [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L479-L481) ## parse ```javascript export function parse< const flags extends readonly Flag, string>[], >(flagParser: ProgramParser, args: string[]): Program { ``` Runs a flag parser on the args [View source](https://github.com/eeue56/baner/blob/main/src/baner.ts#L500-L502)