mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
|
|
/// <reference types="node" />
|
|
|
|
var doc = `
|
|
Usage:
|
|
quick_example.coffee tcp <host> <port> [--timeout=<seconds>]
|
|
quick_example.coffee serial <port> [--baud=9600] [--timeout=<seconds>]
|
|
quick_example.coffee -h | --help | --version
|
|
`;
|
|
var {docopt} = require('docopt');
|
|
console.log(docopt(doc, { version: '0.1.1rc' }));
|