Module StdOptions.InputOptions

val itypes : string list
val in_option : ?default:string -> ?metavar:string -> unit -> string OptParse.Opt.t
val vtypes : string list
val comp_option : ?default:string -> ?metavar:string -> unit -> string OptParse.Opt.t
val trim : bool OptParse.Opt.t
val latest : int OptParse.Opt.t
val checkonly : Dose_pef.Packages_types.vpkglist OptParse.Opt.t
val background : string list OptParse.Opt.t
val foreground : string list OptParse.Opt.t
val inputtype : string OptParse.Opt.t
val compare : string OptParse.Opt.t
val default_options : string list
val group : OptParse.OptParser.group option Stdlib.ref
val descr : string
val parse_cmdline : (Dose_extra.Url.filetypes * bool) -> string list -> string list * string list

give a list of positional arguments returns two list of resources, foreground and background. Positional arguments are assumed to be foreground resources.

val add_options : ?default:string list -> OptParse.OptParser.t -> unit
val add_option : ?short_name:char -> ?long_name:string -> ?help:string -> OptParse.OptParser.t -> ?hide:bool -> ?short_names:char list -> ?long_names:string list -> 'a OptParse.Opt.t -> unit