Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
docopt
/
src
/
token.ts
command line option parser, that will make you smile
Eyal-Shalev/docopt.js
Version
Latest
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.1
v1.0.0
Menu
docopt.ts
T
DocOptions
v
default
v
VERSION
error.ts
c
DocoptLanguageError
c
Exit
interoperability.ts
v
processArgv
parse.ts
v
parseArgv
v
parseDefaults
v
parsePattern
pattern.ts
c
AnyOptions
c
Argument
c
ChildPattern
c
Command
c
Either
c
OneOrMore
c
Option
c
Optional
c
ParentPattern
c
Pattern
c
Required
token.ts
c
TokenStream
utils.ts
T
Constructor
T
Value
v
eachSlice
v
stringPartition
v
unique
v
uniqueMap
import
*
as
docopt
from
"https://deno.land/x/docopt@v1.0.7/src/token.ts"
;
Classes
c
TokenStream