1
0
mirror of https://github.com/kepler155c/opus synced 2024-11-05 00:16:16 +00:00
opus/sys/apps/cshell.lua

13 lines
226 B
Lua
Raw Normal View History

2019-01-23 20:28:43 +00:00
local read = _G.read
local shell = _ENV.shell
if not _G.cloud_catcher then
print('Paste key: ')
local key = read()
if #key == 0 then
return
end
print('Connecting...')
shell.run('cloud ' .. key)
end