You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,17 @@ A `WideHelpFormatter` subclass with its `percentage_of_line_length` set to three
24
24
25
25
A `ThreeQuarterWidthHelpFormatter` subclass which also derives from `argparse.ArgumentDefaultsHelpFormatter`. This means that in addition to using 3/4 of the terminal line length, it also prints the argument defaults in the help text.
26
26
27
-
## Usage
27
+
## Installation & Usage
28
28
29
-
Use these classes in the same way as any other `argparse.HelpFormatter` subclass while creating your argument parser:
29
+
Install the package with your favourite python package manager:
30
+
31
+
pip install apextras
32
+
33
+
or directly into your [pipenv](https://pipenv.readthedocs.io/):
34
+
35
+
pipenv install apextras
36
+
37
+
After that, you can use these classes in the same way as any other `argparse.HelpFormatter` subclass while creating your argument parser:
0 commit comments