Mercurial > hg > silvermirror
changeset 19:54e9c335e239
add some stubs
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 05 Jul 2013 08:07:48 -0700 |
parents | 2c2998eabfb5 |
children | 5c5edfb827b7 |
files | silvermirror/scripts/__init__.py silvermirror/scripts/reconcile_unison.py silvermirror/scripts/sshdiff.py |
diffstat | 3 files changed, 42 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/silvermirror/scripts/__init__.py Fri Jul 05 08:07:48 2013 -0700 @@ -0,0 +1,2 @@ +# scripts for silvermirror +# started on a whim; probably ephemeral
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/silvermirror/scripts/reconcile_unison.py Fri Jul 05 08:07:48 2013 -0700 @@ -0,0 +1,20 @@ +#!/usr/bin/env python + +''' +reconcile unison with remote sources +''' + +import optparse +import os +import sys + +here = os.path.dirname(os.path.realpath(__file__)) + +def main(args=sys.argv[1:]): + + usage = '%prog [options]' + parser = optparse.OptionParser(usage=usage, description=__doc__) + options, args = options.parse_args(args) + + if __name__ == '__main__': + main()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/silvermirror/scripts/sshdiff.py Fri Jul 05 08:07:48 2013 -0700 @@ -0,0 +1,20 @@ +#!/usr/bin/env python + +''' +diff over ssh +''' + +import optparse +import os +import sys + +here = os.path.dirname(os.path.realpath(__file__)) + +def main(args=sys.argv[1:]): + + usage = '%prog [options]' + parser = optparse.OptionParser(usage=usage, description=__doc__) + options, args = options.parse_args(args) + + if __name__ == '__main__': + main()