{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/3061","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/3061/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/3061/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/3061/events","html_url":"https://github.com/Unitech/pm2/issues/3061","id":247332294,"number":3061,"title":"Namespace and pattern matching `delete` command arguments","user":{"login":"hadrien-toma","id":6162030,"avatar_url":"https://avatars3.githubusercontent.com/u/6162030?v=4","gravatar_id":"","url":"https://api.github.com/users/hadrien-toma","html_url":"https://github.com/hadrien-toma","followers_url":"https://api.github.com/users/hadrien-toma/followers","following_url":"https://api.github.com/users/hadrien-toma/following{/other_user}","gists_url":"https://api.github.com/users/hadrien-toma/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrien-toma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrien-toma/subscriptions","organizations_url":"https://api.github.com/users/hadrien-toma/orgs","repos_url":"https://api.github.com/users/hadrien-toma/repos","events_url":"https://api.github.com/users/hadrien-toma/events{/privacy}","received_events_url":"https://api.github.com/users/hadrien-toma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-02T09:48:27Z","updated_at":"2017-08-02T09:57:10Z","closed_at":"2017-08-02T09:49:55Z","body":"## What's going wrong?\r\nNothing, really! This is a feature request for a use case that causes me trouble, maybe you will tell me that there is a better way to achieve the wanted behavior and I will thank you for that! What I want is to be able to use namespace for the arguments of the `pm2` delete command.\r\nBasically, I would like to be able to do:\r\n```\r\npm2 start --name foo_1 app.js\r\npm2 start --name foo_2 app.js\r\npm2 start --name bar_1 app.js\r\npm2 delete foo_*\r\n```\r\n\r\n## Supporting information\r\n\r\nPlease run the following command (available on PM2 >= 2.6)\r\n\r\n```\r\n$ pm2 report\r\n===============================================================================\r\n--- PM2 REPORT (Wed Aug 02 2017 11:43:00 GMT+0200 (CEST)) ---------------------\r\n===============================================================================\r\n--- Daemon -------------------------------------------------\r\npm2d version         : 2.6.1\r\nnode version         : 6.11.1\r\nnode path            : /usr/bin/npm\r\nargv                 : /usr/bin/nodejs,/home/me/dev/optoruta/node_modules/pm2/lib/Daemon.js\r\nargv0                : node\r\nuser                 : me\r\nuid                  : 1000\r\ngid                  : 1000\r\nuptime               : 1206min\r\n===============================================================================\r\n--- CLI ----------------------------------------------------\r\nlocal pm2            : 2.6.1\r\nnode version         : 6.11.1\r\nnode path            : /home/me/dev/optoruta/./node_modules/pm2/bin/pm2\r\nargv                 : /usr/bin/nodejs,/home/me/dev/project_1/node_modules/pm2/bin/pm2,report\r\nargv0                : node\r\nuser                 : me\r\nuid                  : 1000\r\ngid                  : 1000\r\n===============================================================================\r\n--- System info --------------------------------------------\r\narch                 : x64\r\nplatform             : linux\r\ntype                 : Linux\r\ncpus                 : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz\r\ncpus nb              : 4\r\nfreemem              : 374644736\r\ntotalmem             : 8273784832\r\nhome                 : /home/me\r\n===============================================================================\r\n--- PM2 list -----------------------------------------------\r\n┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐\r\n│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │\r\n└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘\r\n===============================================================================\r\n--- Daemon logs --------------------------------------------\r\n┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────┬──────────┐\r\n│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │\r\n└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────┴──────────┘\r\n Use `pm2 show <id|name>` to get more details about an app\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/pm2/issues/comments/319626836","html_url":"https://github.com/Unitech/pm2/issues/3061#issuecomment-319626836","issue_url":"https://api.github.com/repos/Unitech/pm2/issues/3061","id":319626836,"user":{"login":"hadrien-toma","id":6162030,"avatar_url":"https://avatars3.githubusercontent.com/u/6162030?v=4","gravatar_id":"","url":"https://api.github.com/users/hadrien-toma","html_url":"https://github.com/hadrien-toma","followers_url":"https://api.github.com/users/hadrien-toma/followers","following_url":"https://api.github.com/users/hadrien-toma/following{/other_user}","gists_url":"https://api.github.com/users/hadrien-toma/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrien-toma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrien-toma/subscriptions","organizations_url":"https://api.github.com/users/hadrien-toma/orgs","repos_url":"https://api.github.com/users/hadrien-toma/repos","events_url":"https://api.github.com/users/hadrien-toma/events{/privacy}","received_events_url":"https://api.github.com/users/hadrien-toma/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T09:57:10Z","updated_at":"2017-08-02T09:57:10Z","body":"Alright, amazing :smile:! Thank you very much! May I ask you if you can point me to some documentation to help me understand why this works? :confused:"}}
{"actor":{"display_login":"hadrien-toma"}}