nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit bfea904e4e56a6f372c6de1fe23fda9456afbc1a
parent 3efff7dba80fb9e4eec93e5777a65d9acb0e66c2
Author: Eric Davis <edavis@insanum.com>
Date:   Wed, 16 Jul 2014 00:08:50 -0700

pulled out main call

Diffstat:
Asncli | 7+++++++
Msncli.py | 4----
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/sncli b/sncli @@ -0,0 +1,7 @@ +#!/usr/bin/env python2 + +import sys, sncli + +if __name__ == '__main__': + sncli.main(sys.argv[1:]) + diff --git a/sncli.py b/sncli.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python2 import os, sys, getopt, re, signal, time, datetime, shlex, md5 import subprocess, thread, threading, logging @@ -1127,6 +1126,3 @@ def sncli_start(sync, verbose): else: usage() -if __name__ == '__main__': - main(sys.argv[1:]) -