You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cmd_chat_delete_history_dev.go
    path of file: ./repos/client/go/client
    
    the code of the file until where you have to start completion: // Copyright 2017 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.

package client

import (
	"fmt"
	"os"

	"golang.org/x/net/context"

	"github.com/keybase/cli"
	"github.com/keybase/client/go/libcmdline"
	"github.com/keybase/client/go/libkb"
	"github.com/keybase/client/go/protocol/chat1"
	"github.com/keybase/client/go/protocol/keybase1"
	isatty "github.com/mattn/go-isatty"
    
func newCmdChatDeleteHistoryDev(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command {
	return cli.Command{
		Name:         "delete-history-dev",
		Usage:        "Delete chat history in a conversation up to a message ID",
		ArgumentHelp: "[conversation] --upto=<messageid>",
		Action: func(c *cli.Context) {
			cl.ChooseCommand(NewCmdChatDeleteHistoryDevRunner(g), "delete-history-dev", c)
			cl.SetNoStandalone()
		},
		Flags: append(getConversationResolverFlags(), []cli.Flag{
			cli.IntFlag{
				Name:  "upto",
				Usage: `Up to this message ID (exclusive)`,
			},
		}...),
	}
}