You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
946 B
Go
40 lines
946 B
Go
package main
|
|
|
|
import (
|
|
"b612.me/apps/b612/attach"
|
|
"b612.me/apps/b612/base64"
|
|
"b612.me/apps/b612/base85"
|
|
"b612.me/apps/b612/base91"
|
|
"b612.me/apps/b612/detach"
|
|
"b612.me/apps/b612/df"
|
|
"b612.me/apps/b612/dfinder"
|
|
"b612.me/apps/b612/ftp"
|
|
"b612.me/apps/b612/generate"
|
|
"b612.me/apps/b612/hash"
|
|
"b612.me/apps/b612/httpreverse"
|
|
"b612.me/apps/b612/httpserver"
|
|
"b612.me/apps/b612/image"
|
|
"b612.me/apps/b612/merge"
|
|
"b612.me/apps/b612/search"
|
|
"b612.me/apps/b612/split"
|
|
"b612.me/apps/b612/tcping"
|
|
"b612.me/apps/b612/uac"
|
|
"b612.me/apps/b612/vic"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var cmdRoot = &cobra.Command{
|
|
Use: "b612",
|
|
Version: "2.0.1",
|
|
}
|
|
|
|
func init() {
|
|
cmdRoot.AddCommand(tcping.Cmd, uac.Cmd, httpserver.Cmd, httpreverse.Cmd,
|
|
base64.Cmd, base85.Cmd, base91.Cmd, attach.Cmd, detach.Cmd, df.Cmd, dfinder.Cmd,
|
|
ftp.Cmd, generate.Cmd, hash.Cmd, image.Cmd, merge.Cmd, search.Cmd, split.Cmd, vic.Cmd)
|
|
}
|
|
|
|
func main() {
|
|
cmdRoot.Execute()
|
|
}
|