code: func cmdDeploy() *subcommands.Command {
  	return &subcommands.Command{
  		Advanced:  true,
  		UsageLine: "pkg-deploy <package instance file> [options]",
  		ShortDesc: "deploys a package instance file",
  		LongDesc:  "Deploys a *.cipd package instance into a site root.",
  		CommandRun: func() subcommands.CommandRun {
  			c := &deployRun{}
  			c.registerBaseFlags()
  			c.hashOptions.registerFlags(&c.Flags)
  			c.Flags.StringVar(&c.rootDir, "root", "<path>", "Path to an installation site root directory.")
  			return c
  		},
  	}
  }
docs: ////////////////////////////////////////////////////////////////////////////////
  // 'pkg-deploy' subcommand.