CLI Reference
Graft provides 8 commands for managing database snapshots:| Command | Description |
|---|---|
init | Initialize Graft on a target database container |
commit | Snapshot the current branch state |
checkout | Create or switch to a data branch |
list | View all branches with size and integrity status |
verify | Check Merkle integrity of a branch |
rollback | Revert to a previous commit |
reset | Reset current branch to main’s state |
delete | Remove a branch and its commits |
Global Flags
| Flag | Description |
|---|---|
--help | Display help for any command |
--version | Print version information |