fabricatio_checkpoint.cli
Fabricatio Checkpoint CLI tool for managing code checkpoints and workspaces.
Attributes
Functions
|
Fabricatio Checkpoint CLI tool for managing code checkpoints and workspaces. |
|
Reset the workspace to a specific commit. |
|
Save the workspace. |
|
Show the difference between the workspace and the last commit. |
|
List all commits of the workspace specified in the workspace argument. |
|
List all workspaces. |
Module Contents
- fabricatio_checkpoint.cli.app
- fabricatio_checkpoint.cli.main(ctx: typer.Context, workspace: Annotated[pathlib.Path, Option('--workspace', '-w', help='Path to the workspace.', exists=True, file_okay=False, resolve_path=True)] = Path.cwd()) None
Fabricatio Checkpoint CLI tool for managing code checkpoints and workspaces.
- fabricatio_checkpoint.cli.reset(ctx: typer.Context, commit_id: str = Argument('HEAD', help='The commit id to reset to.')) None
Reset the workspace to a specific commit.
- fabricatio_checkpoint.cli.save(ctx: typer.Context, message: Annotated[str, Argument(help='The message of the commit.')] = 'Change') None
Save the workspace.
- fabricatio_checkpoint.cli.diff(ctx: typer.Context) None
Show the difference between the workspace and the last commit.