Permalink
Browse files

Added interactive api

  • Loading branch information...
lnguyen committed Mar 28, 2012
1 parent 0c16d69 commit 4272ec8dcbe46e57698e3242d5dd96e166857e0c
Showing with 13 additions and 0 deletions.
  1. +13 −0 bin/interactive/shell
View
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -v # Turn on verbose logging, so that the following will present a tutorial.
+
+# interactive(s) module is loaded with line 'api/interactive' in an
+# extension's shell/includes file.
+
+if shell is interactive
+then
+ log "This shell is interactive!"
+else
+ log "This shell is not interactive."
+fi

0 comments on commit 4272ec8

Please sign in to comment.