Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a debugging form for car files. #341

Merged
merged 8 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions cmd/car/car.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ func main1() int {
Name: "car",
Usage: "Utility for working with car files",
Commands: []*cli.Command{
{
Name: "compile",
Usage: "compile a car file from a debug patch",
Action: CompileCar,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "output",
Aliases: []string{"o", "f"},
Usage: "The file to write to",
TakesFile: true,
},
},
},
{
Name: "create",
Usage: "Create a car file",
Expand All @@ -34,6 +47,19 @@ func main1() int {
},
},
},
{
Name: "debug",
Usage: "debug a car file",
Action: DebugCar,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "output",
Aliases: []string{"o", "f"},
Usage: "The file to write to",
TakesFile: true,
},
},
},
{
Name: "detach-index",
Usage: "Detach an index to a detached file",
Expand Down
Loading