Rebase & merge changes
This commit is contained in:
committed by
rigelrozanski
parent
9450779bba
commit
df4fdb3642
@@ -24,7 +24,6 @@ func main() {
|
||||
PersistentPreRunE: server.PersistentPreRunEFn(ctx),
|
||||
}
|
||||
|
||||
server.AddCommands(ctx, cdc, rootCmd, app.GaiaAppInit(), generateApp)
|
||||
server.AddCommands(ctx, cdc, rootCmd, app.GaiaAppInit(), generateApp, exportApp)
|
||||
|
||||
// prepare and add flags
|
||||
|
||||
+3
-4
@@ -68,8 +68,7 @@ func PersistentPreRunEFn(context *Context) func(*cobra.Command, []string) error
|
||||
func AddCommands(
|
||||
ctx *Context, cdc *wire.Codec,
|
||||
rootCmd *cobra.Command, appInit AppInit,
|
||||
appCreator AppCreator, appExporter AppExporter,
|
||||
context *Context) {
|
||||
appCreator AppCreator, appExporter AppExporter) {
|
||||
|
||||
rootCmd.PersistentFlags().String("log_level", ctx.Config.LogLevel, "Log level")
|
||||
|
||||
@@ -79,8 +78,8 @@ func AddCommands(
|
||||
UnsafeResetAllCmd(ctx),
|
||||
ShowNodeIDCmd(ctx),
|
||||
ShowValidatorCmd(ctx),
|
||||
ExportCmd(appExporter, context),
|
||||
UnsafeResetAllCmd(context),
|
||||
ExportCmd(appExporter, ctx),
|
||||
UnsafeResetAllCmd(ctx),
|
||||
version.VersionCmd,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user