|
@@ -1,10 +1,10 @@
|
|
|
package pcmserver
|
|
|
|
|
|
import (
|
|
|
- "dy-admin/internal/pcmserver/config"
|
|
|
"dy-admin/internal/pcmserver/options"
|
|
|
"dy-admin/pkg/app"
|
|
|
"dy-admin/pkg/log"
|
|
|
+ "fmt"
|
|
|
)
|
|
|
|
|
|
const commandDesc = `pcm(phone cabinet manager) system command description`
|
|
@@ -28,11 +28,7 @@ func run(opts *options.Options) app.RunFunc {
|
|
|
log.Init(opts.LogOptions)
|
|
|
defer log.Flush()
|
|
|
|
|
|
- cfg, err := config.CreateConfigFromOptions(opts)
|
|
|
- if err != nil {
|
|
|
- return err
|
|
|
- }
|
|
|
-
|
|
|
- return Run(cfg)
|
|
|
+ fmt.Println("run...")
|
|
|
+ return nil
|
|
|
}
|
|
|
}
|