mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 16:43:06 +00:00
feat: extract freqtrade-client to auto-use help
This commit is contained in:
@@ -51,3 +51,10 @@ for command in subcommands:
|
||||
|
||||
with Path(f"docs/commands/{command}.md").open("w") as f:
|
||||
f.write(f"```\n{result.stdout}\n```\n")
|
||||
|
||||
|
||||
print("Running for freqtrade-client")
|
||||
result_client = subprocess.run(["freqtrade-client", "--show"], capture_output=True, text=True)
|
||||
|
||||
with Path("docs/commands/freqtrade-client.md").open("w") as f:
|
||||
f.write(f"```\n{result_client.stdout}\n```\n")
|
||||
|
||||
Reference in New Issue
Block a user