I want Python Fire to support custom command argument parsing through public decorators in fire.decorators .
I want Python Fire to support custom command argument parsing through public decorators in fire.decorators .: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For example, if a method is decorated with @fire.decorators.SetParseFns(count=int) , then…
The task
For example, if a method is decorated with `@fire.decorators.SetParseFns(count=int)`, then `fire.Fire(Component, command=['double', '2'])` should call the method with `count` as the integer `2`, so a method returning `2 * count` returns `4`. If a method is decorated with `@fire.decorators.SetParseFns(float,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.