Conditions | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | """ |
||
22 | @click.command() |
||
23 | @click.option( |
||
24 | '-f', |
||
25 | '--file', |
||
26 | 'data_file', |
||
27 | type=click.Path(exists=True, dir_okay=False, path_type=Path), |
||
28 | default=_DEFAULT_DATA_FILE, |
||
29 | ) |
||
30 | @with_appcontext |
||
31 | def import_roles(data_file: Path) -> None: |
||
32 | """Import authorization roles.""" |
||
33 | _import_roles(data_file) |
||
34 | |||
44 |