What it can do is provide reasonable close air support against Toyota pickups and infantry, but replacement parts for the plane or the molds to create them don't exist. The A10's titanium airframe will soon need wholesale replacement as it reaches its fatigue limit, so the entire plane would need to be remanufactured.
A drone-based replacement would be far more cost efficient. I don't see why mothballing the A10 is a poor decision.