mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
cmd/root.go: Clean up some dead code
This commit is contained in:
parent
85ee095f0d
commit
9a14682b8b
1 changed files with 0 additions and 26 deletions
26
cmd/root.go
26
cmd/root.go
|
@ -98,32 +98,6 @@ var generateCmd = &cobra.Command{
|
|||
Use: "generate",
|
||||
Short: "Run gomod2nix.toml generator",
|
||||
Run: generateFunc,
|
||||
|
||||
// func(cmd *cobra.Command, args []string) error {
|
||||
// outDir := flagOutDir
|
||||
// dir := flagDirectory
|
||||
|
||||
// if len(args) > 0 {
|
||||
// tmpProj, err := generate.NewTempProject(args)
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
// defer tmpProj.Remove()
|
||||
|
||||
// dir = tmpProj.Dir
|
||||
// outDir = "./tmp"
|
||||
// }
|
||||
|
||||
// // dir := "/home/adisbladis/go/pkg/mod/github.com/kyleconroy/sqlc@v1.14.0"
|
||||
// // fmt.Println(args)
|
||||
|
||||
// err := generateInternal(dir, outDir, flagMaxJobs)
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
|
||||
// return nil
|
||||
// },
|
||||
}
|
||||
|
||||
var importCmd = &cobra.Command{
|
||||
|
|
Loading…
Reference in a new issue