pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

It is recommended that pm2 list add display custom fields, such as Port, to app description

Open zhupengfeivip opened this issue 6 years ago • 4 comments
trafficstars

Can you set some custom fields at pm2 start, such as port, function description, etc., and then display the custom fields in the pm2 list command result

zhupengfeivip avatar Jun 27 '19 10:06 zhupengfeivip

Good idea, feel free to PR something about making the table customizable: https://github.com/Unitech/pm2/blob/development/lib/API/CliUx.js#L238

Unitech avatar Jul 01 '19 23:07 Unitech

Hmm, to me even a PM2_FORCE_CONDENSED_MODE env var would do, but yes, a comma separated list of columns would be really nice :thinking:

szkrd avatar Mar 13 '20 08:03 szkrd

Possibility to customize which column to display in "pm2 list" #4631

@Unitech that link is not available anymore. Had anyone worked on that feature since then? How can I contribute to implement this feature?

jeff-pal avatar Mar 11 '22 19:03 jeff-pal

I'd like to customize pm list output as well, it's now wider then my terminal which makes it ugly.

I tried to use cut but that leaves weird characters, even if I disable colors.

I am currently using bat --wrap=never to fix the display, but it's not pretty.

millette avatar May 21 '24 22:05 millette