A builder allegedly lacerated his partner's wrist with a kitchen knife before threatening: "I'll cut your throat in five seconds."
Wojciech Strojek (36) told gardai he could not remember the alleged domestic assault because he was intoxicated, a court heard.
Judge Colin Daly refused to grant him bail following garda objections and remanded him in custody for the directions of the DPP.
Mr Strojek, of Barnwell Place, Hansfield, Dublin 15, is charged with possession of a knife and assault causing harm.
The offence is alleged to have happened at Barnwell Lane on April 4.
Objecting to bail, the prosecuting garda told Dublin District Court that it was alleged the woman was at home with her two children when the accused attacked her.
When she tried to call for help, he punched her several times in the head.
It was further alleged he threatened to kill her, and grabbed a large kitchen knife which he used to make a laceration on her wrist.
The prosecution said the acc-used threatened to "cut your throat in five seconds if you don't leave", and the woman was "in fear for her life".
She maintained that he continued to threaten her.
As well as the laceration, the woman had bruising to her forehead, the garda said.
When gardai arrived at the scene and gained entry, they found the woman in distress and the knife in close proximity to Mr Strojek in the bathroom.
It was alleged that during interview he made certain admissions but said he did not remember what happened as he was intoxicated at the time.
He accepted "if anything did happen, it was him", the garda said.
Applying for bail, defence solicitor Simon Fleming said the accused was now living with a friend at Harold's Cross Road.
He had been working in construction before the coronavirus emergency, he said.
Mr Strojek and the woman had been together for seven months, so it was "not exactly the longest of relationships" and they had no children together.