mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-18 19:30:19 -04:00
23 lines
489 B
Python
23 lines
489 B
Python
from __future__ import print_function, unicode_literals
|
|
from PyInquirer import prompt, print_json
|
|
from commands import start, update
|
|
import argparse
|
|
import json
|
|
import os
|
|
import argparse
|
|
|
|
my_parser = argparse.ArgumentParser(prog='skool', description='Let SkoolOS control your system', epilog="Try again")
|
|
my_parser.add_argument('--init', action="store_true") #returns true if run argument
|
|
args = my_parser.parse_args()
|
|
|
|
update()
|
|
outputs = vars(args)
|
|
if(outputs['init']):
|
|
start()
|
|
|
|
|
|
|
|
|
|
|
|
|