Added a bit of documentation.
[xremote.git] / example.py
diff --git a/example.py b/example.py
new file mode 100755 (executable)
index 0000000..d545018
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+# @XREMOTE_HOST: elk
+# @XREMOTE_EXEC: python3
+# @XREMOTE_GET: *.txt
+# @XREMOTE_SEND: *.py
+# @XREMOTE_PRE: ls -lt > files.txt
+
+print('I am being executed!')
+
+file = open('result.txt', 'w')
+file.write('This is a text.\n')
+file.close()