Accidentally ran command to erase volume with "no format", how can I get it back?
The proper command to resize your main volume to completely fill your disk is:

diskutil resizeVolume disk0s2 0


Usually you have to enter a size like 249g but 0 acts as a magic number and resizes to full size (fit to fill) while moving Recovery HD automatically.