File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Command Line Interface
22======================
33
4- Dask provides the ``dask `` executable to accomplish tasks directly
5- from the command line. Projects in the Dask ecosystem (such as
6- ``distributed ``) leverage the command line tool by adding subcommands.
7- For example, additional commands implemented in ``distributed `` are
8- :ref: `documented here <deploying-cli >`.
4+ Dask provides a ``dask `` executable for a command line interface.
5+ Dask's CLI is :ref: `designed to be extensible <extending-cli >` allowing
6+ other projects in the Dask ecosystem (such as ``distributed ``) to
7+ add subcommands.
98
10- Built in commands
9+ Built- in commands
1110-----------------
1211
13- dask docs
14- ~~~~~~~~~
12+ ``dask `` comes with the following commands.
1513
16- Command to open the Dask documentation website.
14+ .. click :: dask.cli:info
15+ :prog: dask info
16+ :show-nested:
1717
18- dask info
19- ~~~~~~~~~
18+ .. click :: dask.cli:docs
19+ :prog: dask docs
20+ :show-nested:
2021
21- Command to inspect the details of your Dask installation.
22+
23+ .. _extending-cli :
2224
2325Extending the Dask CLI
2426----------------------
2527
28+ .. note ::
29+
30+ This section is intended for library authors who want to
31+ integrate their library with the ``dask `` CLI.
32+
2633Third party packages can extend the ``dask `` command line tool via
2734entry points and Click _. Dask will discover :obj: `click.Command ` and
2835:obj: `click.Group ` objects registered as entry points under the
You can’t perform that action at this time.
0 commit comments