Skip to content

Commit

Permalink
ref: move cmd to root
Browse files Browse the repository at this point in the history
* Use cobra for cmd arguments
  • Loading branch information
aymanbagabas authored and maaslalani committed Oct 24, 2022
1 parent 16002dd commit a5fa96d
Show file tree
Hide file tree
Showing 24 changed files with 347 additions and 355 deletions.
12 changes: 0 additions & 12 deletions action.yml

This file was deleted.

101 changes: 0 additions & 101 deletions cmd/serve/serve.go

This file was deleted.

224 changes: 0 additions & 224 deletions cmd/vhs/vhs.go

This file was deleted.

2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vhs
package main

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion command_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vhs
package main

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion embed.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vhs
package main

import (
_ "embed"
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vhs
package main

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion evaluator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vhs
package main

import (
"errors"
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ require (
github.com/aymanbagabas/go-osc52 v1.2.1 // indirect
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/hashicorp/go-version v1.6.0
github.com/muesli/mango-cobra v1.2.0
github.com/muesli/roff v0.1.0
github.com/rivo/uniseg v0.4.2 // indirect
github.com/spf13/cobra v1.6.0
github.com/ysmood/gson v0.7.2 // indirect
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b // indirect
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43 // indirect
Expand Down
Loading

0 comments on commit a5fa96d

Please sign in to comment.