Description:
    Manage DC/OS tasks.

Usage:
    dcos task --help
    dcos task --info
    dcos task --version
    dcos task exec [--interactive --tty] <task> <cmd> [<args>...]
    dcos task log [--all | --completed] [--follow --lines=N] [<task>] [<file>]
    dcos task ls [--all | --completed] [--long] [<task>] [<path>]
    dcos task metrics details <task-id> [--json]
    dcos task metrics summary <task-id> [--json]
    dcos task [--all | --completed] [--json <task>]

Command:
    exec
        Launch a process (<cmd>) inside of a container for a task (<task>).

    log
        Print the task log. By default, the 10 most recent task logs from stdout
        are printed.
    ls
        Print the list of files in the Mesos task sandbox.
    metrics details
        Print a table of all metrics for the task specified by <task-id>
    metrics summary
        Print a table of key metrics for the task specified by <task-id>

Options:
    --all
        Print completed and in-progress tasks.
    --completed
        Print completed tasks.
    -h, --help
        Print usage.
    --info
        Print a short description of this subcommand.
    -i, --interactive
        Attach a STDIN stream to the remote command for an interactive session.
    -t, --tty
        Attach a tty to the remote stream.
    --follow
        Dynamically update the log.
    --json
        Print JSON-formatted list of tasks.
    --lines=N
        Print the last N lines. The default is 10 lines.
    --long
        Print full Mesos sandbox file attributes.
    --version
        Print version information.

Positional Arguments:
    <cmd>
        The command to run inside the remote task's container.
        For example: `/bin/bash`.
    <args>
        Additional arguments to pass to the command (<cmd>).
    <file>
        Specify the sandbox file to print. The default is stdout.
    <path>
        The Mesos sandbox directory path. The default is '.'.
    <task>
        A full task ID, a partial task ID, or a regular expression.
