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: pgbackrest_backup_list.go
    path of file: ./repos/wal-g/cmd/pg
    
    the code of the file until where you have to start completion: package pg

import (
	"github.com/spf13/cobra"
	"github.com/wal-g
    
func init() {
	pgbackrestCmd.AddCommand(pgbackrestBackupListCmd)

	pgbackrestBackupListCmd.Flags().BoolVar(&pretty, PrettyFlag, false, "Prints more readable output")
	pgbackrestBackupListCmd.Flags().BoolVar(&json, JSONFlag, false, "Prints output in json format")
	pgbackrestBackupListCmd.Flags().BoolVar(&detail, DetailFlag, false, "Prints extra backup details")
}