add mate() cmdline command