func next(client service.Client, args ...string) error { state, err := client.Next() if err != nil { return err } printcontext(state) return nil }