Commit fdd374ff authored by linj's avatar linj Committed by linj

move cmd

parent c7c714c5
...@@ -125,6 +125,22 @@ func showCmd() *cobra.Command { ...@@ -125,6 +125,22 @@ func showCmd() *cobra.Command {
return cmd return cmd
} }
func queryWithdrawCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "show",
Short: "show available withdraw amount of one unfreeze construct",
Run: queryWithdraw,
}
cmd.Flags().StringP("id", "", "", "unfreeze construct id")
cmd.MarkFlagRequired("id")
return cmd
}
func queryWithdraw(cmd *cobra.Command, args []string) {
}
func show(cmd *cobra.Command, args []string) { func show(cmd *cobra.Command, args []string) {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment