mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
14 lines
No EOL
269 B
Python
Executable file
14 lines
No EOL
269 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import tlnb
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
role = "task"
|
|
command = None
|
|
if len(sys.argv) > 1:
|
|
role = sys.argv[1]
|
|
if len(sys.argv) > 2:
|
|
command = sys.argv[2]
|
|
tlnb.main(roles=[role], command=command)
|
|
|