get cmds