Exemple #1
0
#!/usr/bin/env python3
import scripthelper

scripthelper.add_argument("--name", default="World")
logger = scripthelper.bootstrap()
name = scripthelper.args.name

logger.info(f"Hello {name}")
Exemple #2
0
#!/usr/bin/env python3
import scripthelper
import example4module

scripthelper.bootstrap()
example4module.do_the_things()