Renamed _soypak.py -> soypak-cli.py
Also added logging to file.
This commit is contained in:
parent
9099b4aa1e
commit
e12fa43ed1
|
|
@ -1,5 +0,0 @@
|
||||||
import soypak.cli.soypakcli as soypakcli
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
soypakcli.SoypakCLI().run_command()
|
|
||||||
8
soypak/soypak-cli.py
Normal file
8
soypak/soypak-cli.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
import clog
|
||||||
|
import soypak.cli.soypakcli as soypakcli
|
||||||
|
|
||||||
|
logger = clog.Logger(out_file=".soypak.log", name="runtime_logger")
|
||||||
|
logger.writeLog("new CLI instance has been started.", level=0)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
soypakcli.SoypakCLI().run_command()
|
||||||
Loading…
Reference in New Issue
Block a user