mirror of
https://github.com/ferdzo/fs.git
synced 2026-04-04 20:36:25 +00:00
16 lines
275 B
Go
16 lines
275 B
Go
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()
|
|
},
|
|
}
|
|
}
|