func (cmd *CommandCreate) Flags() []flags.Flag {
	return []flags.Flag{
		cli.AppFlagWithContext(&cmd.inputs.App, "to create an entry in its Access List"),
		cli.ProjectFlag(&cmd.inputs.Project),
		cli.ProductFlag(&cmd.inputs.Products),
		flags.StringFlag{
			Value: &cmd.inputs.Address,
			Meta: flags.Meta{
				Name: "ip",
				Usage: flags.Usage{
					Description: "Specify the IP address or CIDR block that you would like to add",
				},
			},
		},
		flags.StringFlag{
			Value: &cmd.inputs.Comment,
			Meta: flags.Meta{
				Name: "comment",
				Usage: flags.Usage{
					Description: "Add a comment to the IP address or CIDR block",
					Note:        "This action is optional",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.UseCurrent,
			Meta: flags.Meta{
				Name: "use-current",
				Usage: flags.Usage{
					Description: "Add your current IP address to your Access List",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.AllowAll,
			Meta: flags.Meta{
				Name: "allow-all",
				Usage: flags.Usage{
					Description: "Allows all IP addresses to access your Realm app",
					Note:        `“0.0.0.0/0” will be added as an entry`,
				},
			},
		},
	}
}
Flags is the command flags
package accesslist
import (
	"errors"
	"github.com/10gen/realm-cli/internal/cli"
	"github.com/10gen/realm-cli/internal/cli/user"
	"github.com/10gen/realm-cli/internal/terminal"
	"github.com/10gen/realm-cli/internal/utils/flags"
	"github.com/AlecAivazis/survey/v2"
)
var (
	errTooManyAddressess = errors.New("must only provide one IP address or CIDR block at a time")
)
type createInputs struct {
	cli.ProjectInputs
	Address    string
	Comment    string
	UseCurrent bool
	AllowAll   bool
}
var CommandMetaCreate = cli.CommandMeta{
	Use:         "create",
	Display:     "accesslist create",
	Description: "Create an IP address or CIDR block in the Access List for your Realm app",
	HelpText: `You will be prompted to input an IP address or CIDR block if none is provided in
the initial command.`,
}
type CommandCreate struct {
	inputs createInputs
}