--
--   Iris control
--
--   Usage:
--      iris
--         Display iris state
--      iris open
--      iris close
--

dofile("config")
args = {...}
if #args == 0 then
  print(sg.irisState())
elseif args[1] == "open" then
  sg.openIris()
elseif args[1] == "close" then
  sg.closeIris()
else
  print(args[1], " not understood")
end


