Start laying out the structure of gooni
This commit is contained in:
commit
7327e1ff7f
22 changed files with 529 additions and 0 deletions
16
internal/cli/upload/upload.go
Normal file
16
internal/cli/upload/upload.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package upload
|
||||
|
||||
import (
|
||||
"github.com/alecthomas/kingpin"
|
||||
"github.com/openobservatory/gooni/internal/cli/root"
|
||||
"github.com/openobservatory/gooni/internal/util"
|
||||
)
|
||||
|
||||
func init() {
|
||||
cmd := root.Command("upload", "Upload a specific measurement")
|
||||
|
||||
cmd.Action(func(_ *kingpin.ParseContext) error {
|
||||
util.Log("Uploading")
|
||||
return nil
|
||||
})
|
||||
}
|
||||
Loading…
Reference in a new issue