[Solved] Disk utility to use in scripts - eviltoast

Is there any good alternative to parted, that I can use in scripts? Parted main problem is that it requires user confirmation one each action.