import { GlobalMiddleware } from "https://dotland.deno.dev/x/yargs@v17.7.1-deno/build/lib/middleware.d.ts";
Constructors
new
GlobalMiddleware(yargs: YargsInstance)Methods
addCoerceMiddleware(callback: MiddlewareCallback, option: string): YargsInstance
addMiddleware(): YargsInstance
callback: MiddlewareCallback | MiddlewareCallback[],
applyBeforeValidation: boolean,
global?: boolean,
mutates?: boolean,
freeze(): void
getMiddleware(): Middleware[]
reset(): void
unfreeze(): void