anisette.cli¶
CLI functionality.
Attributes¶
Functions¶
Module Contents¶
- anisette.cli.msg = "Failed to find CLI dependencies. Install the 'anisette[cli]' package if you require CLI support."¶
- anisette.cli.app¶
- anisette.cli.console¶
- anisette.cli.new(name: Annotated[str, typer.Argument(help='The name of the new session')] = 'default') None ¶
Create a new Anisette session.
- anisette.cli.remove(name: Annotated[str, typer.Argument(help='The name of the saved session to remove')] = 'default') None ¶
Remove a saved Anisette session.
- anisette.cli.get(name: Annotated[str, typer.Argument(help='The name of the saved session')] = 'default') None ¶
Get Anisette data for a saved session.
- anisette.cli.list_() None ¶
List Anisette sessions.
- anisette.cli.serve(name: Annotated[str, typer.Argument(help='The name of the saved session')] = 'default', host: Annotated[str, typer.Option(help='Host to run the server on')] = 'localhost', port: Annotated[int, typer.Option(help='Port to run the server on')] = 6969) None ¶
Serve Anisette data for a saved session.