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

18 lines
276 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-12 17:17:28 +00:00
kiwi = Config()
print(repr(kiwi))
2021-10-11 00:58:49 +00:00
if __name__ == "__main__":
main()