Re-add rest_client script

This commit is contained in:
Matthias 2024-03-29 08:39:28 +01:00
parent bfe739da3c
commit 5888da5bc5
2 changed files with 14 additions and 2 deletions

View File

@ -415,5 +415,3 @@ class FtRestClient:
:return: json object :return: json object
""" """
return self._get("health") return self._get("health")

14
scripts/rest_client.py Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env python3
"""
Simple command line client into RPC commands
Can be used as an alternate to Telegram
Should not import anything from freqtrade,
so it can be used as a standalone script.
"""
from freqtrade_client.ft_client import main
if __name__ == '__main__':
main()