BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/arg
Run
Logout
Edit File
Size: 891 B
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/arg/index.d.ts
Text
Base64
declare function arg<T extends arg.Spec>( spec: T, options?: arg.Options ): arg.Result<T>; declare namespace arg { export const flagSymbol: unique symbol; export function flag<T>(fn: T): T & { [arg.flagSymbol]: true }; export const COUNT: Handler<number> & { [arg.flagSymbol]: true }; export type Handler<T = any> = ( value: string, name: string, previousValue?: T ) => T; export class ArgError extends Error { constructor(message: string, code: string); code: string; } export interface Spec { [key: string]: string | Handler | [Handler]; } export type Result<T extends Spec> = { _: string[] } & { [K in keyof T]?: T[K] extends Handler ? ReturnType<T[K]> : T[K] extends [Handler] ? Array<ReturnType<T[K][0]>> : never; }; export interface Options { argv?: string[]; permissive?: boolean; stopAtPositional?: boolean; } } export = arg;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.d.ts
891 B
lrw-r--r--
2025-03-28 11:04:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
4.36 KB
lrw-r--r--
2025-03-28 11:04:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LICENSE.md
1.05 KB
lrw-r--r--
2025-03-28 11:04:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
589 B
lrw-r--r--
2025-03-28 11:04:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README.md
6.49 KB
lrw-r--r--
2025-03-28 11:04:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).