From 2ae347dce2415e5739283c36275ee9104d3d7e97 Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <zack@upsilon.cc>
Date: Thu, 16 Apr 2020 16:25:09 +0200
Subject: [PATCH] doc: document identify CLI

---
 docs/cli.rst   | 6 ++++++
 docs/index.rst | 1 +
 2 files changed, 7 insertions(+)
 create mode 100644 docs/cli.rst

diff --git a/docs/cli.rst b/docs/cli.rst
new file mode 100644
index 00000000..654111f6
--- /dev/null
+++ b/docs/cli.rst
@@ -0,0 +1,6 @@
+Command-line interface
+======================
+
+.. click:: swh.model.cli:identify
+  :prog: swh identify
+  :show-nested:
diff --git a/docs/index.rst b/docs/index.rst
index 19e075e8..8ad09ac0 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,4 +11,5 @@ Implementation of the :ref:`data-model` to archive source code artifacts.
 
    data-model
    persistent-identifiers
+   cli
    /apidoc/swh.model
-- 
GitLab