feat: extract freqtrade-client to auto-use help

This commit is contained in:
Matthias
2025-11-09 08:36:42 +01:00
parent 2846d9478e
commit 777ff1938e
3 changed files with 207 additions and 175 deletions

View File

@@ -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")