[ndctl PATCH 2/7] ndctl, daxctl: Add type-safety to command harness