1234567891011121314151617181920212223242526typet={owner:string;name:string;project_id:int;}[@@derivingto_yojson]letppf{owner;name;project_id}=Fmt.pff"%s/%s/%i"ownernameproject_idletto_gitf{owner;name;_}=Fmt.pff"%s/%s"ownernameletcompare=compareletcmdliner=letopenCmdlinerinletparses=matchAstring.String.cuts~sep:"/"swith|[owner;name;project_id]->Ok{owner;name;project_id=int_of_stringproject_id}|_->Fmt.error_msg"%S not in the form 'owner/name/project_id'"sinArg.(required&pos0(some(conv~docv:"REPO"(parse,pp)))None&info~doc:"The GitLab repository (owner/name/project_id) to monitor."~docv:"REPO"[])