1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-25 05:53:00 +00:00
kiwi-scp/kiwi_scp/scripts/kiwi_next.py

16 lines
262 B
Python
Raw Normal View History

2021-10-11 00:58:49 +00:00
from kiwi_scp.config import Config
import yaml
def main():
2021-10-12 17:17:28 +00:00
with open("./example/kiwi.yml") as kc:
2021-10-11 00:58:49 +00:00
yml = yaml.safe_load(kc)
kiwi = Config(**yml)
print(repr(kiwi))
2021-10-13 01:05:46 +00:00
print(kiwi.kiwi_yml)
2021-10-12 17:17:28 +00:00
2021-10-11 00:58:49 +00:00
if __name__ == "__main__":
main()