gamesheet_sdk.admin.cli.shared.decorators module

Common CLI option decorators.

gamesheet_sdk.admin.cli.shared.decorators.common_output_options(func)[source]

Add standard –format and –output options to command.

Parameters:

func (F) – The Click command function to decorate

Returns:

The decorated function with –format and –output options

Return type:

F

gamesheet_sdk.admin.cli.shared.decorators.list_columns_option(func)[source]

Add –columns option for list commands.

Parameters:

func (F) – The Click command function to decorate

Returns:

The decorated function with –columns option

Return type:

F

gamesheet_sdk.admin.cli.shared.decorators.get_fields_option(func)[source]

Add –fields option for get commands.

Parameters:

func (F) – The Click command function to decorate

Returns:

The decorated function with –fields option

Return type:

F

gamesheet_sdk.admin.cli.shared.decorators.team_update_options(func)[source]

Add common team update options.

Parameters:

func (F) – The Click command function to decorate

Returns:

The decorated function with team update options

Return type:

F

gamesheet_sdk.admin.cli.shared.decorators.team_create_options(func)[source]

Add common team create options.

Parameters:

func (F) – The Click command function to decorate

Returns:

The decorated function with team create options

Return type:

F