mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
14 lines
242 B
Python
14 lines
242 B
Python
import fire
|
|
|
|
|
|
class CLI:
|
|
def run(self, **kwargs):
|
|
"""
|
|
打印传入的 kwargs
|
|
"""
|
|
for key, value in kwargs.items():
|
|
print(f"{key}: {value}")
|
|
|
|
|
|
if __name__ == '__main__':
|
|
fire.Fire(CLI().run)
|