Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added interactive api

  • Loading branch information...
commit 4272ec8dcbe46e57698e3242d5dd96e166857e0c 1 parent 0c16d69
@longnguyen11288 longnguyen11288 authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 bin/interactive/shell
View
13 bin/interactive/shell
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.