示例#1
0
文件: args.go 项目: rahulteni/hub
func (a *Args) After(command ...string) {
	a.afterChain = append(a.afterChain, cmd.NewWithArray(command))
}
示例#2
0
文件: args.go 项目: rahulteni/hub
func (a *Args) Before(command ...string) {
	a.beforeChain = append(a.beforeChain, cmd.NewWithArray(command))
}