File: complex.txt

package info (click to toggle)
sphinx-argparse-cli 1.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144 kB
  • sloc: python: 681; makefile: 4
file content (97 lines) | stat: -rw-r--r-- 1,714 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
complex - CLI interface
***********************

argparse tester

   complex [-h] [--root] [--no-help] [--outdir out_dir] [--in-dir IN_DIR] [--foo | --bar]
           {first,f,second,third} ...


complex options
===============

* **"-h"**, **"--help"** - show this help message and exit

* **"--root"** - root flag

* **"--no-help"**

* **"--outdir"** "OUT_DIR", **"-o"** "OUT_DIR" - output directory
  (default: "None")

* **"--in-dir"** "IN_DIR", **"-i"** "IN_DIR" - input directory
  (default: "None")


complex Exclusive
=================

this is an exclusive group

* **"--foo"** - foo

* **"--bar"** - bar


complex first (f)
=================

a-first-desc

   complex first [-h] [--flag] [--root] one pos_two


complex first positional arguments
----------------------------------

* **"one"** - first positional argument (default: "None")

* **"pos_two"** - second positional argument (default: "1")


complex first options
---------------------

* **"-h"**, **"--help"** - show this help message and exit

* **"--flag"** - a parser first flag

* **"--root"** - root flag


complex second
==============

   complex second [-h] [--flag] [--root] one pos_two


complex second positional arguments
-----------------------------------

* **"one"** - first positional argument (default: "None")

* **"pos_two"** - second positional argument (default: "green")


complex second options
----------------------

* **"-h"**, **"--help"** - show this help message and exit

* **"--flag"** - a parser second flag

* **"--root"** - root flag


complex third
=============

   complex third [-h]


complex third options
---------------------

* **"-h"**, **"--help"** - show this help message and exit

test epilog