bamboost.cli.alias
Attributes
- subapp_alias=
typer.Typer(name='alias', help='Manage collection aliases in the index.', no_args_is_help=True)
Functions
add
(uid=typer.Argument(..., autocompletion=(_completion._get_uids_from_db), help='The unique ID of the collection to add an alias for.'), alias=typer.Argument(..., help='The alias to add to the collection.')) -> NoneAdd an alias to a collection in the index by its unique ID.
Arguments:
- uid:
str=typer.Argument(..., autocompletion=(_completion._get_uids_from_db), help='The unique ID of the collection to add an alias for.') - alias:
str=typer.Argument(..., help='The alias to add to the collection.')
remove
(uid=typer.Argument(..., autocompletion=(_completion._get_uids_from_db), help='The unique ID of the collection to remove an alias from.'), alias=typer.Argument(..., help='The alias to remove from the collection.', autocompletion=(_completion._get_aliases_of_collection))) -> NoneRemove an alias from a collection in the index by its unique ID.
Arguments:
- uid:
str=typer.Argument(..., autocompletion=(_completion._get_uids_from_db), help='The unique ID of the collection to remove an alias from.') - alias:
str=typer.Argument(..., help='The alias to remove from the collection.', autocompletion=(_completion._get_aliases_of_collection))
get
(alias) -> NoneGet the unique ID of a collection by its alias.
Arguments:
- alias:
typing.Annotated[str, typer.typer.Argument(..., help='The alias to look up.')]
Bamboost