Git Product home page Git Product logo

docopt.c's Introduction

docopt creates beautiful command-line interfaces

https://travis-ci.org/docopt/docopt.svg?branch=master

Video introduction to docopt: PyCon UK 2012: Create *beautiful* command-line interfaces with Python

New in version 0.6.1:

  • Fix issue #85 which caused improper handling of [options] shortcut if it was present several times.

New in version 0.6.0:

  • New argument options_first, disallows interspersing options and arguments. If you supply options_first=True to docopt, it will interpret all arguments as positional arguments after first positional argument.
  • If option with argument could be repeated, its default value will be interpreted as space-separated list. E.g. with [default: ./here ./there] will be interpreted as ['./here', './there'].

Breaking changes:

  • Meaning of [options] shortcut slightly changed. Previously it meant "any known option". Now it means "any option not in usage-pattern". This avoids the situation when an option is allowed to be repeated unintentionally.
  • argv is None by default, not sys.argv[1:]. This allows docopt to always use the latest sys.argv, not sys.argv during import time.

Isn't it awesome how optparse and argparse generate help messages based on your code?!

Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write this stupid repeatable parser-code, and instead can write only the help message--the way you want it.

docopt helps you create most beautiful command-line interfaces easily:

"""Naval Fate.

Usage:
  naval_fate.py ship new <name>...
  naval_fate.py ship <name> move <x> <y> [--speed=<kn>]
  naval_fate.py ship shoot <x> <y>
  naval_fate.py mine (set|remove) <x> <y> [--moored | --drifting]
  naval_fate.py (-h | --help)
  naval_fate.py --version

Options:
  -h --help     Show this screen.
  --version     Show version.
  --speed=<kn>  Speed in knots [default: 10].
  --moored      Moored (anchored) mine.
  --drifting    Drifting mine.

"""
from docopt import docopt


if __name__ == '__main__':
    arguments = docopt(__doc__, version='Naval Fate 2.0')
    print(arguments)

Beat that! The option parser is generated based on the docstring above that is passed to docopt function. docopt parses the usage pattern ("Usage: ...") and option descriptions (lines starting with dash "-") and ensures that the program invocation matches the usage pattern; it parses options, arguments and commands based on that. The basic idea is that a good help message has all necessary information in it to make a parser.

Also, PEP 257 recommends putting help message in the module docstrings.

Installation

Use pip or easy_install:

pip install docopt==0.6.2

Alternatively, you can just drop docopt.py file into your project--it is self-contained.

docopt is tested with Python 2.7, 3.4, 3.5, and 3.6.

Testing

You can run unit tests using the command:

python setup.py test

API

from docopt import docopt
docopt(doc, argv=None, help=True, version=None, options_first=False)

docopt takes 1 required and 4 optional arguments:

  • doc could be a module docstring (__doc__) or some other string that contains a help message that will be parsed to create the option parser. The simple rules of how to write such a help message are given in next sections. Here is a quick example of such a string:
"""Usage: my_program.py [-hso FILE] [--quiet | --verbose] [INPUT ...]

-h --help    show this
-s --sorted  sorted output
-o FILE      specify output file [default: ./test.txt]
--quiet      print less text
--verbose    print more text

"""
  • argv is an optional argument vector; by default docopt uses the argument vector passed to your program (sys.argv[1:]). Alternatively you can supply a list of strings like ['--verbose', '-o', 'hai.txt'].

  • help, by default True, specifies whether the parser should automatically print the help message (supplied as doc) and terminate, in case -h or --help option is encountered (options should exist in usage pattern, more on that below). If you want to handle -h or --help options manually (as other options), set help=False.

  • version, by default None, is an optional argument that specifies the version of your program. If supplied, then, (assuming --version option is mentioned in usage pattern) when parser encounters the --version option, it will print the supplied version and terminate. version could be any printable object, but most likely a string, e.g. "2.1.0rc1".

    Note, when docopt is set to automatically handle -h, --help and --version options, you still need to mention them in usage pattern for this to work. Also, for your users to know about them.

  • options_first, by default False. If set to True will disallow mixing options and positional argument. I.e. after first positional argument, all arguments will be interpreted as positional even if the look like options. This can be used for strict compatibility with POSIX, or if you want to dispatch your arguments to other programs.

The return value is a simple dictionary with options, arguments and commands as keys, spelled exactly like in your help message. Long versions of options are given priority. For example, if you invoke the top example as:

naval_fate.py ship Guardian move 100 150 --speed=15

the return dictionary will be:

{'--drifting': False,    'mine': False,
 '--help': False,        'move': True,
 '--moored': False,      'new': False,
 '--speed': '15',        'remove': False,
 '--version': False,     'set': False,
 '<name>': ['Guardian'], 'ship': True,
 '<x>': '100',           'shoot': False,
 '<y>': '150'}

Help message format

Help message consists of 2 parts:

  • Usage pattern, e.g.:

    Usage: my_program.py [-hso FILE] [--quiet | --verbose] [INPUT ...]
    
  • Option descriptions, e.g.:

    -h --help    show this
    -s --sorted  sorted output
    -o FILE      specify output file [default: ./test.txt]
    --quiet      print less text
    --verbose    print more text
    

Their format is described below; other text is ignored.

Usage pattern format

Usage pattern is a substring of doc that starts with usage: (case insensitive) and ends with a visibly empty line. Minimum example:

"""Usage: my_program.py

"""

The first word after usage: is interpreted as your program's name. You can specify your program's name several times to signify several exclusive patterns:

"""Usage: my_program.py FILE
          my_program.py COUNT FILE

"""

Each pattern can consist of the following elements:

  • <arguments>, ARGUMENTS. Arguments are specified as either upper-case words, e.g. my_program.py CONTENT-PATH or words surrounded by angular brackets: my_program.py <content-path>.
  • --options. Options are words started with dash (-), e.g. --output, -o. You can "stack" several of one-letter options, e.g. -oiv which will be the same as -o -i -v. The options can have arguments, e.g. --input=FILE or -i FILE or even -iFILE. However it is important that you specify option descriptions if you want your option to have an argument, a default value, or specify synonymous short/long versions of the option (see next section on option descriptions).
  • commands are words that do not follow the described above conventions of --options or <arguments> or ARGUMENTS, plus two special commands: dash "-" and double dash "--" (see below).

Use the following constructs to specify patterns:

  • [ ] (brackets) optional elements. e.g.: my_program.py [-hvqo FILE]
  • ( ) (parens) required elements. All elements that are not put in [ ] are also required, e.g.: my_program.py --path=<path> <file>... is the same as my_program.py (--path=<path> <file>...). (Note, "required options" might be not a good idea for your users).
  • | (pipe) mutually exclusive elements. Group them using ( ) if one of the mutually exclusive elements is required: my_program.py (--clockwise | --counter-clockwise) TIME. Group them using [ ] if none of the mutually-exclusive elements are required: my_program.py [--left | --right].
  • ... (ellipsis) one or more elements. To specify that arbitrary number of repeating elements could be accepted, use ellipsis (...), e.g. my_program.py FILE ... means one or more FILE-s are accepted. If you want to accept zero or more elements, use brackets, e.g.: my_program.py [FILE ...]. Ellipsis works as a unary operator on the expression to the left.
  • [options] (case sensitive) shortcut for any options. You can use it if you want to specify that the usage pattern could be provided with any options defined below in the option-descriptions and do not want to enumerate them all in usage-pattern.
  • "[--]". Double dash "--" is used by convention to separate positional arguments that can be mistaken for options. In order to support this convention add "[--]" to your usage patterns.
  • "[-]". Single dash "-" is used by convention to signify that stdin is used instead of a file. To support this add "[-]" to your usage patterns. "-" acts as a normal command.

If your pattern allows to match argument-less option (a flag) several times:

Usage: my_program.py [-v | -vv | -vvv]

then number of occurrences of the option will be counted. I.e. args['-v'] will be 2 if program was invoked as my_program -vv. Same works for commands.

If your usage patterns allows to match same-named option with argument or positional argument several times, the matched arguments will be collected into a list:

Usage: my_program.py <file> <file> --path=<path>...

I.e. invoked with my_program.py file1 file2 --path=./here --path=./there the returned dict will contain args['<file>'] == ['file1', 'file2'] and args['--path'] == ['./here', './there'].

Option descriptions format

Option descriptions consist of a list of options that you put below your usage patterns.

It is necessary to list option descriptions in order to specify:

  • synonymous short and long options,
  • if an option has an argument,
  • if option's argument has a default value.

The rules are as follows:

  • Every line in doc that starts with - or -- (not counting spaces) is treated as an option description, e.g.:

    Options:
      --verbose   # GOOD
      -o FILE     # GOOD
    Other: --bad  # BAD, line does not start with dash "-"
    
  • To specify that option has an argument, put a word describing that argument after space (or equals "=" sign) as shown below. Follow either <angular-brackets> or UPPER-CASE convention for options' arguments. You can use comma if you want to separate options. In the example below, both lines are valid, however you are recommended to stick to a single style.:

    -o FILE --output=FILE       # without comma, with "=" sign
    -i <file>, --input <file>   # with comma, without "=" sign
    
  • Use two spaces to separate options with their informal description:

    --verbose More text.   # BAD, will be treated as if verbose option had
                           # an argument "More", so use 2 spaces instead
    -q        Quit.        # GOOD
    -o FILE   Output file. # GOOD
    --stdout  Use stdout.  # GOOD, 2 spaces
    
  • If you want to set a default value for an option with an argument, put it into the option-description, in form [default: <my-default-value>]:

    --coefficient=K  The K coefficient [default: 2.95]
    --output=FILE    Output file [default: test.txt]
    --directory=DIR  Some directory [default: ./]
    
  • If the option is not repeatable, the value inside [default: ...] will be interpreted as string. If it is repeatable, it will be splited into a list on whitespace:

    Usage: my_program.py [--repeatable=<arg> --repeatable=<arg>]
                         [--another-repeatable=<arg>]...
                         [--not-repeatable=<arg>]
    
    # will be ['./here', './there']
    --repeatable=<arg>          [default: ./here ./there]
    
    # will be ['./here']
    --another-repeatable=<arg>  [default: ./here]
    
    # will be './here ./there', because it is not repeatable
    --not-repeatable=<arg>      [default: ./here ./there]
    

Examples

We have an extensive list of examples which cover every aspect of functionality of docopt. Try them out, read the source if in doubt.

Subparsers, multi-level help and huge applications (like git)

If you want to split your usage-pattern into several, implement multi-level help (with separate help-screen for each subcommand), want to interface with existing scripts that don't use docopt, or you're building the next "git", you will need the new options_first parameter (described in API section above). To get you started quickly we implemented a subset of git command-line interface as an example: examples/git

Data validation

docopt does one thing and does it well: it implements your command-line interface. However it does not validate the input data. On the other hand there are libraries like python schema which make validating data a breeze. Take a look at validation_example.py which uses schema to validate data and report an error to the user.

Using docopt with config-files

Often configuration files are used to provide default values which could be overriden by command-line arguments. Since docopt returns a simple dictionary it is very easy to integrate with config-files written in JSON, YAML or INI formats. config_file_example.py provides and example of how to use docopt with JSON or INI config-file.

Development

We would love to hear what you think about docopt on our issues page

Make pull requests, report bugs, suggest ideas and discuss docopt. You can also drop a line directly to <[email protected]>.

Porting docopt to other languages

We think docopt is so good, we want to share it beyond the Python community! All official docopt ports to other languages can be found under the docopt organization page on GitHub.

If your favourite language isn't among then, you can always create a port for it! You are encouraged to use the Python version as a reference implementation. A Language-agnostic test suite is bundled with Python implementation.

Porting discussion is on issues page.

Changelog

docopt follows semantic versioning. The first release with stable API will be 1.0.0 (soon). Until then, you are encouraged to specify explicitly the version in your dependency tools, e.g.:

pip install docopt==0.6.2
  • 0.6.2 Bugfix release.
  • 0.6.1 Bugfix release.
  • 0.6.0 options_first parameter. Breaking changes: Corrected [options] meaning. argv defaults to None.
  • 0.5.0 Repeated options/commands are counted or accumulated into a list.
  • 0.4.2 Bugfix release.
  • 0.4.0 Option descriptions become optional, support for "--" and "-" commands.
  • 0.3.0 Support for (sub)commands like git remote add. Introduce [options] shortcut for any options. Breaking changes: docopt returns dictionary.
  • 0.2.0 Usage pattern matching. Positional arguments parsing based on usage patterns. Breaking changes: docopt returns namespace (for arguments), not list. Usage pattern is formalized.
  • 0.1.0 Initial release. Options-parsing only (based on options description).

docopt.c's People

Contributors

ffunenga avatar fxkr avatar gertoe avatar kblomqvist avatar keleshev avatar samuelmarks avatar tjk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docopt.c's Issues

Example not working

Generating code using the "Naval Fate" example produces broken header. Line 97 & 98.

struct DocoptArgs {
    
    /* commands */
    size_t create;
    size_t mine;
    size_t move;
    size_t remove;
    size_t set;
    size_t ship;
    size_t shoot;
    /* arguments */
    char *name;
{indent}char *x;
{indent}char *y;
    /* options without arguments */
    size_t drifting;
    size_t help;
    size_t moored;
    size_t version;
    /* options with arguments */
    char *speed;
    /* special */
    const char *usage_pattern;
    const char *help_message[16];
};

I'm running Python 3.10.0

arguments not working

I tried docopt.c for the first time today.

Running the example doesn't work, for example, see the following output:

$ ./example ship test move 4 5 --speed=20
Commands
    mine == false
    move == true
    create == false
    remove == false
    set == false
    ship == true
    shoot == false
Arguments
    x == (null)
    y == (null)
Flags
    --drifting == false
    --help == false
    --moored == false
    --version == false
Options
    --speed == 20

As you can see, the move command and the --speed option were read correctly, but the <x> and <y> arguments were NOT populated.

docopt.c does not support docopt's [options] shortcut

The docopt documentation says:

"[options]" is a shortcut that allows to avoid listing all options (from list of options with descriptions) in a pattern. For example:

Usage: my_program [options]

--all List everything.
--long Long output.
--human-readable Display in human-readable format.

is equivalent to:

Usage: my_program [--all --long --human-readable]

--all List everything.
--long Long output.
--human-readable Display in human-readable format.

However, it seems that docopt.c ignores this shortcut. It would be really nice if it didn't.

C-code generator based on yacc & lex

Hey guys,

(did not find a better way than to write just here, since you do not have any maillist)

I was highly inspired by the docopt idea in general, which should cover all my C requirements for perfect command line parser, but unfortunately this project seems dead, and c++ variant is too heavy and clumsy (I simply can't agree that std::map<std::string, docopt::value> is a better way to represent parsed arguments than plain old structure).

So I decided to repeat original basic docopt functionality, but instead of implementing parser myself I used yacc & lex (i.e. bison & flex). That works for me quite well. As I said I did not try to follow full docopt specification, rather tried to cover my own needs.

If someone has an interest: https://github.com/rouming/docopt.c

--
Roman

How are we going to handle the "struct DocoptArgs" element's names?

Currently we've got the Naval Fate example being converted from this:

--- LeafNodes ---
  Argument('<y>', None)
  Argument('<x>', None)
  Argument('<name>', None)
  Command('remove', False)
  Command('set', False)
  Command('mine', False)
  Command('shoot', False)
  Command('ship', False)
  Command('move', False)
  Command('new', False)
  Option('--version', False)
  Option('--help', False)
  Option('--drifting', False)
  Option('--moored', False)
  Option('--speed', '10')

to this:

typedef struct {
    /* flag options */
    int help;
    int version;
    int moored;
    int drifting;
    /* options with arguments */
    char *speed;
    /* special */
    const char *usage_pattern;
    const char *help_message;
} DocoptArgs;

How do we translate CLI syntax into C valid struct elements?

  • if --help becomes DocoptArgs.help, what happens to <y>?
  • What about conflicts, are they possible? Example: there is a command called help (related with the application context) and there is the generic --help (related with the CLI context). Is this possible? How do we solve it?

Valid variable names in C respect the following three rules:

Variable names in C are made up of letters (upper and lower case) and digits.
The underscore character ("_") is also permitted.
Names must not begin with a digit.

[EDIT1]
Is this (a bad idea | ugly | not universal C)? leafname = ''.join(('_' if c in '<>-' else c) for c in leaf.name)

originating in:

typedef struct {
    int remove;
    int set;
    int mine;
    int shoot;
    int ship;
    int move;
    int new;
    int __version;
    int __help;
    int __drifting;
    int __moored;
    char *_y_;
    char *_x_;
    char *_name_;
    char *__speed;
    const char *usage_pattern;
    const char *help_message;
} DocoptArgs;

In my PC, it compiles and executes.

[EDIT2]
Possible conflict: an argument called __remove and an option named --remove wich will become __remove.
Its crazy/strange to have an argument named __remove.

Maybe Arguments not starting in letters should be prohibited upstream. @docopt/docopt @halst
Or maybe only docopt_c.py should prohibit it.

Unnecessary use of cat in README

The following (taken from the README) encourages using cat when redirections would be more appropriate and (marginally) faster:

$ cat example.docopt | python docopt_c.py > docopt.c

A functionally equivalent, but slightly faster and cleaner version would be:

$ python docopt_c.py > docopt.c < example.docopt

Support for positional and ... arguments

I needed handling of positional arguments as well as one or more arguments so I made some changes which you can find here.

jkcko@23a68dd

The Command type now includes a pointer to an Argument array which lists the positional arguments for the command.

Additional Argument arrays with prefix docopt_ are generated for each command.

parse_argcmd will now assign value in the matching argument of elements->arguments and the positional docopt_ arrays.
argument->value = argument value
argument->count = number of arguments on the command line including this one (for counting ...)
argument->array = points to argv for this argument (for ...)

Usage for positional arguments would be something like.

   cfg command <arg1> <arg2> <arg3>

   if (arg.arg1 != NULL) {
       printf("arg1 %s\n", arg.arg1);
   }
   if (arg.arg2 != NULL) {
       printf("arg2 %s\n", arg.arg2);
   }
   if (arg.arg3 != NULL) {
       printf("arg3 %s\n", arg.arg3);
   }

Usage for ... would be something like.

   cmd command <list-item>...

    if (docopt_command[0].count > 1) {
        /* more than one */
        char **array = docopt_command[0].array;
        for (i=0; i < count; i++) {
            list_item[i] = array[i];
        }
    }
    else {
        /* one */
        char *strp = args->command;
    }

Caveat: [options] combined with positional arguments is not supported.

missing template.c file

ls ./.local/lib/python3.10/site-packages/docopt_c/
docopt_c.py docopt.py init.py main.py pycache

python3 -m docopt_c -o lol haha
[Errno 2] No such file or directory: '/home/me/.local/lib/python3.10/site-packages/docopt_c/_data/template.c'

IMO, repo has clutter

I dont understand why the following files are in the repository:

  • docopt.c
  • log.h
  • test_docopt.c

IMO, all the files in the upstream repo should have a justification why they are where they are.

I know @halst and @kblomqvist have shown their preference for all files go to level 0 but I don't see any reason why NOT to:

  • organize the files into subfolders
  • not have any personal files in the main repo (proposed solution: put them somewhere else.... wiki, public link to dropbox, etc)

Number of parsed tokens?

Hi,

I'm using docopt to parse arguments for my program. This program then calls a library function that accepts argc, argv arguments to do its own argument parsing. And I'd like to be able to call ./my_program --my-arg --my-other-arg -- --lib-arg --other-lib-arg.

Basically, I'd need to be know how many tokens have been parsed by docopt, so that I can pass (argc - parsed_tokens) and [argv[0]] + argv[parsed_tokens:] to that lib (using a Python syntax to be clearer ๐Ÿ˜‰).

Would it be possible to add something similar to docopt? If I'm the only one interested in such a feature and if I end up writing it, would you be interested in merging it? :)

Thanks!

Lib rather than generator?

Could doctopt provide a more typical C-style library, instead of a code generator?

I would like to be able to #include "docopt.h", gcc -ldocopt, etc.

why is the main script called docopt.c.py instead of the initial docopt_c.py?

This is problematic (and very restrictive) because this project is still in the beginning and deciding something like this will restrict the option of, in the future, make a python script have this:

import docopt_c
# or
from docopt_c import docopt_c

which BTW does not work if written like this:

>>> import docopt.c
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named c

We need to think five years ahead of our time, always!

Unit tests are broken

Just realized that Tokens* tokens_new() wasn't just a rename from Tokens tokens_create()... @ffunenga I'm not sure why do we added that extra param of Tokens itself in to the argument list of the function, and why do we return a pointer:

Tokens* tokens_new(Tokens *ts, int argc, char **argv) {
    struct Tokens update = {argc, argv, 0, argv[0]};
    (*ts) = update;
    return ts;
}

If an update function is needed then let's add it separately.

Generate header file

I think this would be a little more convenient to use if it generated a header file with just DocoptArgs and docopt(). The use case for this would be a program that deals with parsed arguments in many places.

If the parsed arguments (DocoptArgs) are needed in different files that are eventually linked together, we can't just do #include "docopt.c" like in the main file, since we would be redefining various variables and functions. We would instead have to redefine just the struct in each file that the parsed arguments are needed.

IMO, docopt.c.py has a bad CLI

Currently, the user workflow when using docopt.c.py has two things that IMO are bad. This

cat example.docopt | python docopt.c.py > docopt.c

and the header of example.c file:

#include "docopt.c"

This is a bad CLI and a bad C implementation:

  • This is a sub-project of docopt and, as such, it should make use of it.
  • If you have a "big" project, normally you create a header file for the source of the module and then compile it separately.

Proposed Solution

Use the following docopt string, like I've implemented here [1]:

usage: docopt_c.py [options] [DOCOPT]

Processes a docopt formatted string, from either stdin or a file, and
outputs the equivalent C code to parse the CLI, to either the stdout or a
set of two files (.c and .h).

Options:
  -o OUTNAME --output-name=OUTNAME
                Filename used to write OUTNAME.h and OUTNAME.c.
                If not present, an equivalent C file is printed to stdout.
  -d TEMPLATE --dev=TEMPLATE
                Filename used to read TEMPLATE.c and TEMPLATE.h.
  -v <level> --verbosity=<level>
                Set the verbosity level of stderr debug messages [default: 0]
  -h,--help     Show this help message and exit

Arguments:
  DOCOPT        Input file describing your CLI in docopt language.

Be aware of the comments inside the if __name__ == '__main__': at the end and the comments inside def __parse_cli(): in line 396.

[1] https://github.com/ffunenga/docopt.c/blob/feature/update-workflow/src/docopt_c.py

Default options don't work properly?

Given the following example.docopt:

Naval Fate.

Usage:
  naval_fate.py ship create <name>...
  naval_fate.py ship <name> move <x> <y> [--speed=<kn>]
  naval_fate.py ship shoot <x> <y>
  naval_fate.py mine (set|remove) <x> <y> [--moored|--drifting]
  naval_fate.py --help
  naval_fate.py --version

Options:
  -h --help     Show this screen.
  --version     Show version.
  --speed=<kn>  Speed in knots [default: 10].
  --moored      Moored (anchored) mine.
  --drifting    Drifting mine.

I'd expect --speed to equal 10 if no options are passed, however I see this instead:

$ ./example.out
Commands
    mine == false
    move == false
    create == false
    remove == false
    set == false
    ship == false
    shoot == false
Arguments
    x == (null)
    y == (null)
Flags
    --drifting == false
    --help == false
    --moored == false
    --version == false
Options
    --speed == (null)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.