Add ping subcmd