prefect block

prefect block [OPTIONS] COMMAND [ARGS]...

Manage blocks.

prefect block register

prefect block register [OPTIONS]

Register blocks types within a module or file.

This makes the blocks available for configuration via the UI. If a block type has already been registered, its registration will be updated to match the block’s current definition.

 Examples:  Register block types in a Python module: $ prefect block register -m prefect_aws.credentials  Register block types in a .py file: $ prefect block register -f my_blocks.py

prefect block ls

prefect block ls [OPTIONS]

View all configured blocks.

prefect block delete

prefect block delete [OPTIONS] [SLUG]

Delete a configured block.

prefect block create

prefect block create [OPTIONS] BLOCK_TYPE_SLUG

Generate a link to the Prefect UI to create a block.

prefect block inspect

prefect block inspect [OPTIONS] [SLUG]

Displays details about a configured block.

prefect block types

prefect block types [OPTIONS] COMMAND [ARGS]...

Inspect and delete block types.

prefect block types ls

prefect block types ls [OPTIONS]

List all block types.

prefect block types inspect

prefect block types inspect [OPTIONS] SLUG

Display details about a block type.

prefect block types delete

prefect block types delete [OPTIONS] SLUG

Delete an unprotected Block Type.

prefect block type

prefect block type [OPTIONS] COMMAND [ARGS]...

Inspect and delete block types.

prefect block type ls

prefect block type ls [OPTIONS]

List all block types.

prefect block type inspect

prefect block type inspect [OPTIONS] SLUG

Display details about a block type.

prefect block type delete

prefect block type delete [OPTIONS] SLUG

Delete an unprotected Block Type.