Skip to content

Commit 2135c15

Browse files
committed
Rename CLI from cdl to datalab for consistency
Fixes #102 (cherry picked from commit 2a2fd84)
1 parent 1623667 commit 2135c15

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

doc/features/general/command.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ Command line features
55

66
.. meta::
77
:description: DataLab command line features
8-
:keywords: command line, cdl, datalab, run, test, demo
8+
:keywords: command line, datalab, run, test, demo
99

1010
Run DataLab
1111
-----------
1212

1313
To run DataLab from the command line, type the following::
1414

15-
$ cdl
15+
$ datalab
1616

1717
To show help on command line usage, simply run::
1818

19-
$ cdl --help
19+
$ datalab --help
2020
usage: app.py [-h] [-b path] [-v] [--unattended] [--screenshot] [--delay DELAY] [--xmlrpcport PORT]
2121
[--verbose {quiet,minimal,normal}]
2222
[h5]
@@ -46,24 +46,24 @@ Open HDF5 file at startup
4646

4747
To open HDF5 files, or even import only a specified HDF5 dataset, use the following::
4848

49-
$ cdl /path/to/file1.h5
50-
$ cdl /path/to/file1.h5,/path/to/dataset1
51-
$ cdl /path/to/file1.h5,/path/to/dataset1;/path/to/file2.h5,/path/to/dataset2
49+
$ datalab /path/to/file1.h5
50+
$ datalab /path/to/file1.h5,/path/to/dataset1
51+
$ datalab /path/to/file1.h5,/path/to/dataset1;/path/to/file2.h5,/path/to/dataset2
5252

5353
Open HDF5 browser at startup
5454
----------------------------
5555

5656
To open the HDF5 browser at startup, use one of the following commands::
5757

58-
$ cdl -b /path/to/file1.h5
59-
$ cdl --h5browser /path/to/file1.h5
58+
$ datalab -b /path/to/file1.h5
59+
$ datalab --h5browser /path/to/file1.h5
6060

6161
Run DataLab demo
6262
----------------
6363

6464
To execute DataLab demo, run the following::
6565

66-
$ cdl-demo
66+
$ datalab-demo
6767

6868
.. _run_scientific_validation_tests:
6969

@@ -94,6 +94,6 @@ Run interactive tests
9494

9595
To execute DataLab interactive tests, run the following::
9696

97-
$ cdl-tests
97+
$ datalab-tests
9898

9999
.. image:: /images/interactive_tests.png

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ Documentation = "https://datalab-platform.com/"
5959

6060
[project.gui-scripts]
6161
cdl = "cdl.app:run"
62-
cdl-demo = "cdl.tests.scenarios.demo:run"
63-
cdl-tests = "cdl.tests:run"
62+
datalab = "cdl.app:run"
63+
datalab-demo = "cdl.tests.scenarios.demo:run"
64+
datalab-tests = "cdl.tests:run"
6465

6566
[project.optional-dependencies]
6667
qt = ["PyQt5"]

0 commit comments

Comments
 (0)