コード例 #1
0
func (cmd *ActivityStreamStderr) Run(scope scope.Scope, c *cli.Context) {
	if err := net.VerifyLoginURL(cmd.network); err != nil {
		error_handler.ErrorExit(err)
	}
	activityStream, err := activities.ActivityStream(cmd.network, scope.Activity, "stderr")
	if nil != err {
		error_handler.ErrorExit(err)
	}
	fmt.Println(activityStream)
}
コード例 #2
0
func (cmd *ActivityStream) Run(c *cli.Context) {
	activityStream := activities.ActivityStream(cmd.network, c.Args()[0], c.Args()[1])
	fmt.Println(activityStream)
}