forked from x/ContextOS
Merge branch '0.1.0' into 0.2.0
This commit is contained in:
commit
5679201960
13
etc/init.sh
13
etc/init.sh
@ -3,10 +3,15 @@
|
|||||||
# login root 94ca7394d007fa189cc4be0a2625d716 root
|
# login root 94ca7394d007fa189cc4be0a2625d716 root
|
||||||
login root root
|
login root root
|
||||||
|
|
||||||
~cli
|
# ~cli
|
||||||
remote slaver listen :9393 tcp
|
# remote slaver listen :9393 tcp
|
||||||
|
|
||||||
# ~aaa
|
# ~aaa
|
||||||
# login shy shy
|
# login shy shy
|
||||||
userinfo add context hi hello nice
|
# userinfo add context hi hello nice
|
||||||
userinfo add command hi context
|
# userinfo add command hi context
|
||||||
|
~web
|
||||||
|
listen
|
||||||
|
# ~demo
|
||||||
|
# listen
|
||||||
|
# ~home spawn test
|
||||||
|
@ -390,6 +390,7 @@ var Index = &ctx.Context{Name: "cli", Help: "管理终端",
|
|||||||
args := m.Meta["spawn"]
|
args := m.Meta["spawn"]
|
||||||
msg := m.Spawn(v)
|
msg := m.Spawn(v)
|
||||||
v.Spawn(msg, args[0]).Begin(msg)
|
v.Spawn(msg, args[0]).Begin(msg)
|
||||||
|
cli.target = msg.Target
|
||||||
case m.Has("switch"):
|
case m.Has("switch"):
|
||||||
cli.target = v
|
cli.target = v
|
||||||
case m.Has("show"):
|
case m.Has("show"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user