@anotherjust1 sv_cheats 1 in console before starting the map but iirc the campaign is cheat protected so you have to start the map with the devmap command.
Start a map, type mapname in the console to get the map name. Then exit and when in main menu do devmap name_of_the_map in the console. You can also find the map names for campaign on Google