Debian Codegraph @

tests/apps/complex-demo/docs/source/cli/admin.rst

raw
1 Admin Commands
2 ==============
3
4 Administrative commands for system management. This page demonstrates:
5
6 * **Nested command documentation** (4 levels deep)
7 * **Command filtering** using the ``:commands:`` option
8 * **Dataclass parameter flattening** in the ``config`` command
9
10 admin
11 -----
12
13 .. cyclopts:: complex_app:app
14 :heading-level: 3
15 :recursive:
16 :commands: admin
17
18 User Management Deep Dive
19 -------------------------
20
21 The user management system supports 4 levels of command nesting:
22
23 1. ``admin`` - Top-level administrative commands
24 2. ``admin users`` - User management
25 3. ``admin users permissions`` - Permission management
26 4. ``admin users permissions roles`` - Role templates
27
28 Just the Permissions Commands
29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
31 This section shows only the permissions subcommand and its children:
32
33 .. cyclopts:: complex_app:app
34 :heading-level: 4
35 :recursive:
36 :commands: admin.users.permissions