Maybe solars are getting better but my experience is they don't put out that much light, they don't last all night and the batteries fail pretty fast. The battery costs as much as the whole deal.
Since we were talking about "code" I assume Sparky was already there so this would just be the incremental charge of adding another lighting outlet to whatever job he was on.
That is cheap for a virtual lifetime of trouble free service.
BTW don't you guys sell wiring and equipment?
Why leave that money on the table or send it to a sweat shop in China.