Reference: puppet code command

The puppet code command accepts options, actions, and deploy action options.

Use the following format to modify the puppet code command:

puppet code [GLOBAL_OPTIONS] <ACTION> [ACTION_OPTIONS]