cmd/blkidx: pave the road for multiple subcommands