Last change
on this file since 3391 was
3391,
checked in by kbut, 4 years ago
|
add firts steps of cli
|
-
Property svn:executable set to
*
|
File size:
419 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | from clint import arguments |
---|
4 | from clint.textui import puts, indent, colored |
---|
5 | import lliurex.lliurexup |
---|
6 | import os |
---|
7 | import sys |
---|
8 | |
---|
9 | class LliurexUpCli: |
---|
10 | def __init__(self): |
---|
11 | self.lliurexcore = lliurex.lliurexup.LliurexUpCore() |
---|
12 | |
---|
13 | def main(self): |
---|
14 | print("run") |
---|
15 | |
---|
16 | |
---|
17 | if __name__ == '__main__': |
---|
18 | if os.geteuid() != 0: |
---|
19 | print "You need be root!" |
---|
20 | sys.exit(1) |
---|
21 | lliurexupcli = LliurexUpCli() |
---|
22 | lliurexupcli.main() |
---|
Note: See
TracBrowser
for help on using the repository browser.