mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
(no commit message provided)
This commit is contained in:
committed by
Prad Nukala (aider)
parent
5fd43dfd6b
commit
2f976209db
@@ -1,24 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/onsonr/hway/pkg/vault"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if err := serveCmd().Execute(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
func serveCmd() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "vltd",
|
||||
Aliases: []string{"vault"},
|
||||
Short: "run the vault rest api and htmx frontend",
|
||||
DisableFlagParsing: false,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
vault.Serve(cmd.Context())
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user