mirror of
https://github.com/ferdzo/fs.git
synced 2026-04-05 08:26:28 +00:00
Initial FS CLI
This commit is contained in:
15
cmd/server.go
Normal file
15
cmd/server.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func newServerCommand() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "server",
|
||||
Short: "Run fs object storage server",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runServerWithSignals()
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user