Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9749460
D3028.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
677 B
Subscribers
None
D3028.id.diff
View Options
diff --git a/docs/cli.rst b/docs/cli.rst
new file mode 100644
--- /dev/null
+++ b/docs/cli.rst
@@ -0,0 +1,20 @@
+Command-line interface
+======================
+
+Shared command-line interface
+-----------------------------
+
+.. click:: swh.core.cli:swh
+ :prog: swh
+ :show-nested:
+
+Database initialization utilities
+---------------------------------
+
+.. click:: swh.core.cli.db:init
+ :prog: swh db init
+ :show-nested:
+
+.. click:: swh.core.cli.db:db_init
+ :prog: swh db-init
+ :show-nested:
diff --git a/docs/index.rst b/docs/index.rst
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -12,4 +12,5 @@
.. toctree::
:maxdepth: 2
+ cli
/apidoc/swh.core
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 24, 5:28 PM (1 w, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220057
Attached To
D3028: Add documentation for command-line tools
Event Timeline
Log In to Comment