Mess with your knot2 data but don't blame me afterwards
knot2
Rust 100%

README.md

knot-cobtools #

Tools for inspecting and messing with your knot2's metadata, extracted from my knot2 fork that I have deleted because knot2 was migrated to the tangled monorepo and I'm too lazy to rebase.

Usage #

knot-cobtools: inspect and manipulate knot2 collaborative objects

commands:
  knot-cobtools types <repo-path>
  knot-cobtools list <repo-path> <type-name>
  knot-cobtools revisions <repo-path> <type-name> <cob-id>
  knot-cobtools show <repo-path> <type-name> <cob-id> [<change-id>]
  knot-cobtools merge linear <repo-a> <type-a> <cob-a> <repo-b> <type-b> <cob-b> <knot-did>
  knot-cobtools merge convergent <repo-a> <type-a> <cob-a> <repo-b> <type-b> <cob-b> <knot-did>
  knot-cobtools export <repo-path> <type-name> <cob-id>
  knot-cobtools import <repo-path> <type-name> <cob-id> <file-path>