extract namespace, account for unknown command