refactor interims DefaultAppCobra to DefaultApp
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
committed by
Florian Schade
parent
6d054c527c
commit
7be33b0607
@@ -25,7 +25,7 @@ func GetCommands(cfg *config.Config) []*cobra.Command {
|
||||
|
||||
// Execute is the entry point for the web command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultAppCobra(&cobra.Command{
|
||||
app := clihelper.DefaultApp(&cobra.Command{
|
||||
Use: "web",
|
||||
Short: "Serve Web for OpenCloud",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user