1
0
forked from x/ContextOS

Merge branch '0.2.0' into 0.3.0

This commit is contained in:
shaoying 2017-11-21 06:05:36 +08:00
commit ef3ca80970
2 changed files with 10 additions and 4 deletions

View File

@ -3,10 +3,15 @@
# login root 94ca7394d007fa189cc4be0a2625d716 root
login root root
~cli
remote slaver listen :9393 tcp
# ~cli
# remote slaver listen :9393 tcp
# ~aaa
# login shy shy
userinfo add context hi hello nice
userinfo add command hi context
# userinfo add context hi hello nice
# userinfo add command hi context
~web
listen
# ~demo
# listen
# ~home spawn test

View File

@ -390,6 +390,7 @@ var Index = &ctx.Context{Name: "cli", Help: "管理终端",
args := m.Meta["spawn"]
msg := m.Spawn(v)
v.Spawn(msg, args[0]).Begin(msg)
cli.target = msg.Target
case m.Has("switch"):
cli.target = v
case m.Has("show"):