hawat.command module

This module contains custom commands for hawat-cli command line interface.

hawat.command.account_exists(func)[source]

Decorator: Catch SQLAlchemy exceptions for non-existing user accounts.

hawat.command.setup_cli(app)[source]

Setup custom application CLI commands.

hawat.command.validate_email(_ctx, _param, value)[source]

Validate login/email command line parameter.

hawat.command.validate_roles(_ctx, _param, value)[source]

Validate role command line parameter.