prefect.cli
block
Block command — native cyclopts implementation. Manage blocks and block types.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
prefect.cli.blockregister register()
$ prefect block register -f my_blocks.py
$ prefect block register -m prefect_aws.credentials
block_ls block_ls()
block_delete block_delete(slug: Annotated[Optional[str], cyclopts.Parameter(help="A block slug. Formatted as '<BLOCK_TYPE_SLUG>/<BLOCK_NAME>'")] = None)
block_create block_create(block_type_slug: Annotated[str, cyclopts.Parameter(help='A block type slug. View available types with: prefect block type ls', show_default=False)])
block_inspect block_inspect(slug: Annotated[Optional[str], cyclopts.Parameter(help='A Block slug: <BLOCK_TYPE_SLUG>/<BLOCK_NAME>')] = None)
list_types list_types()
blocktype_inspect blocktype_inspect(slug: Annotated[str, cyclopts.Parameter(help='A block type slug')])
blocktype_delete blocktype_delete(slug: Annotated[str, cyclopts.Parameter(help='A Block type slug')])
Was this page helpful?