|
AQIT 0.1.0
|
Functions | |
| None | render_license_document (*, str context="view", bool show_acceptance_footer=False) |
| bool | prompt_license_acceptance (*, str context="first_use") |
Variables | |
| _BANNER = BANNER | |
| _width = width | |
| _rule = rule | |
| _center = center | |
| _center_block = center_block | |
| _box_line = box_line | |
| _box_lines = box_lines | |
| _box_top = box_top | |
| _box_bottom = box_bottom | |
| _ascii_safe = ascii_safe | |
| bool prompt_license_acceptance | ( | * | , |
| str | context = "first_use" ) |
Show the full license and ask the user to accept.
Definition at line 84 of file license_display.py.
References render_license_document().
| None render_license_document | ( | * | , |
| str | context = "view", | ||
| bool | show_acceptance_footer = False ) |
Print the full license in a consistent ASCII frame.
Definition at line 40 of file license_display.py.
Referenced by prompt_license_acceptance().
|
protected |
Definition at line 37 of file license_display.py.
|
protected |
Definition at line 28 of file license_display.py.
|
protected |
Definition at line 36 of file license_display.py.
|
protected |
Definition at line 33 of file license_display.py.
|
protected |
Definition at line 34 of file license_display.py.
|
protected |
Definition at line 35 of file license_display.py.
|
protected |
Definition at line 31 of file license_display.py.
|
protected |
Definition at line 32 of file license_display.py.
|
protected |
Definition at line 30 of file license_display.py.
|
protected |
Definition at line 29 of file license_display.py.