jedcunningham commented on a change in pull request #18916:
URL: https://github.com/apache/airflow/pull/18916#discussion_r735062068
##########
File path: airflow/cli/cli_parser.py
##########
@@ -1381,6 +1388,18 @@ class GroupCommand(NamedTuple):
func=lazy_load_command('airflow.cli.commands.role_command.roles_create'),
args=(ARG_ROLES, ARG_VERBOSE),
),
+ ActionCommand(
+ name='export',
+ help='Export roles (without permissions) from db to JSON file',
+
func=lazy_load_command('airflow.cli.commands.role_command.roles_export'),
+ args=(ARG_ROLE_EXPORT, ARG_ROLE_EXPORT_FMT, ARG_VERBOSE),
+ ),
+ ActionCommand(
+ name='import',
+ help='Import roles from JSON file to db',
Review comment:
```suggestion
help='Import roles (without permissions) from JSON file to db',
```
Sorry, I meant here as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]