func (cmd *CommandDiff) Flags() []flags.Flag {
	return []flags.Flag{
		flags.StringFlag{
			Value: &cmd.inputs.LocalPath,
			Meta: flags.Meta{
				Name: "local",
				Usage: flags.Usage{
					Description: "Specify the local filepath of a Realm app to diff",
				},
			},
		},
		flags.StringFlag{
			Value: &cmd.inputs.RemoteApp,
			Meta: flags.Meta{
				Name: "remote",
				Usage: flags.Usage{
					Description: "Specify the name or ID of a Realm app to diff",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeNodeModules,
			Meta: flags.Meta{
				Name: flagIncludeNodeModules,
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a node_modules archive",
					Note:        "The allowed formats are as a directory or compressed into a .zip, .tar, .tar.gz, or .tgz file",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludePackageJSON,
			Meta: flags.Meta{
				Name: flagIncludePackageJSON,
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a package.json file",
				},
			},
		},
		// TODO(REALMC-10088): Remove this flag in realm-cli 3.x
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeDependencies,
			Meta: flags.Meta{
				Name:      flagIncludeDependencies,
				Shorthand: "d",
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a node_modules archive",
					Note:        "The allowed formats are as a directory or compressed into a .zip, .tar, .tar.gz, or .tgz file",
				},
				Deprecate: fmt.Sprintf("support will be removed in v3.x, please use %q instead", flagIncludeNodeModules),
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeHosting,
			Meta: flags.Meta{
				Name:      "include-hosting",
				Shorthand: "s",
				Usage: flags.Usage{
					Description: "Include Realm app hosting files in the diff",
				},
			},
		},
		cli.ProjectFlag(&cmd.inputs.Project),
	}
}
// Flags is the command flags
Flags is the command flags
// Flags is the command flags
func (cmd *CommandDiff) Flags() []flags.Flag {
	return []flags.Flag{
		flags.StringFlag{
			Value: &cmd.inputs.LocalPath,
			Meta: flags.Meta{
				Name: "local",
				Usage: flags.Usage{
					Description: "Specify the local filepath of a Realm app to diff",
				},
			},
		},
		flags.StringFlag{
			Value: &cmd.inputs.RemoteApp,
			Meta: flags.Meta{
				Name: "remote",
				Usage: flags.Usage{
					Description: "Specify the name or ID of a Realm app to diff",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeNodeModules,
			Meta: flags.Meta{
				Name: flagIncludeNodeModules,
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a node_modules archive",
					Note:        "The allowed formats are as a directory or compressed into a .zip, .tar, .tar.gz, or .tgz file",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludePackageJSON,
			Meta: flags.Meta{
				Name: flagIncludePackageJSON,
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a package.json file",
				},
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeDependencies,
			Meta: flags.Meta{
				Name:      flagIncludeDependencies,
				Shorthand: "d",
				Usage: flags.Usage{
					Description: "Include Realm app dependencies in the diff from a node_modules archive",
					Note:        "The allowed formats are as a directory or compressed into a .zip, .tar, .tar.gz, or .tgz file",
				},
				Deprecate: fmt.Sprintf("support will be removed in v3.x, please use %q instead", flagIncludeNodeModules),
			},
		},
		flags.BoolFlag{
			Value: &cmd.inputs.IncludeHosting,
			Meta: flags.Meta{
				Name:      "include-hosting",
				Shorthand: "s",
				Usage: flags.Usage{
					Description: "Include Realm app hosting files in the diff",
				},
			},
		},
		cli.ProjectFlag(&cmd.inputs.Project),
	}
}
func ( cmd * CommandDiff ) Flags ( ) [ ] flags . Flag { return [ ] flags . Flag { flags . StringFlag { Value : & cmd . inputs . LocalPath , Meta : flags . Meta { Name : " " , Usage : flags . Usage { Description : " " , } , } , } , flags . StringFlag { Value : & cmd . inputs . RemoteApp , Meta : flags . Meta { Name : " " , Usage : flags . Usage { Description : " " , } , } , } , flags . BoolFlag { Value : & cmd . inputs . IncludeNodeModules , Meta : flags . Meta { Name : flagIncludeNodeModules , Usage : flags . Usage { Description : " " , Note : " " , } , } , } , flags . BoolFlag { Value : & cmd . inputs . IncludePackageJSON , Meta : flags . Meta { Name : flagIncludePackageJSON , Usage : flags . Usage { Description : " " , } , } , } , flags . BoolFlag { Value : & cmd . inputs . IncludeDependencies , Meta : flags . Meta { Name : flagIncludeDependencies , Shorthand : " " , Usage : flags . Usage { Description : " " , Note : " " , } , Deprecate : fmt . Sprintf ( " " , flagIncludeNodeModules ) , } , } , flags . BoolFlag { Value : & cmd . inputs . IncludeHosting , Meta : flags . Meta { Name : " " , Shorthand : " " , Usage : flags . Usage { Description : " " , } , } , } , cli . ProjectFlag ( & cmd . inputs . Project ) , } }
Flags is the command flags
Flags is the command flags
// TODO(REALMC-10088): Remove this flag in realm-cli 3.x