mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-25 05:53:00 +00:00
15 lines
262 B
Python
15 lines
262 B
Python
from kiwi_scp.config import Config
|
|
import yaml
|
|
|
|
|
|
def main():
|
|
with open("./example/kiwi.yml") as kc:
|
|
yml = yaml.safe_load(kc)
|
|
kiwi = Config(**yml)
|
|
|
|
print(repr(kiwi))
|
|
print(kiwi.kiwi_yml)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|