parent
c05015a646
commit
392a35915d
@ -1,10 +1,19 @@ |
||||
import pyhmy |
||||
from pyhmy.util import download_cli |
||||
from pyhmy.logging import ControlledLogger |
||||
from pyhmy import cli |
||||
|
||||
if __name__ == "__main__": |
||||
# download_cli("test") |
||||
download_cli("test") |
||||
print(cli.get_version()) |
||||
print(cli.get_binary_path()) |
||||
print(cli.get_account_keystore_path()) |
||||
print(cli.single_call("hmy keys list")) |
||||
logger = ControlledLogger("test", "logs/") |
||||
CLI = pyhmy.HmyCLI(environment=pyhmy.get_environment()) |
||||
z = pyhmy.get_goversion() |
||||
print(pyhmy.get_goversion()) |
||||
logger.info("test info") |
||||
logger.debug("test debug") |
||||
logger.error("test error") |
||||
logger.warning("test warning") |
||||
logger.write() |
||||
|
||||
|
Loading…
Reference in new issue