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()
|