{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3671","labels_url":"https://api.github.com/repos/composer/composer/issues/3671/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3671/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3671/events","html_url":"https://github.com/composer/composer/issues/3671","id":55307409,"number":3671,"title":"Feature Request: list scripts","user":{"login":"Sequoia","id":317498,"avatar_url":"https://avatars.githubusercontent.com/u/317498?v=3","gravatar_id":"","url":"https://api.github.com/users/Sequoia","html_url":"https://github.com/Sequoia","followers_url":"https://api.github.com/users/Sequoia/followers","following_url":"https://api.github.com/users/Sequoia/following{/other_user}","gists_url":"https://api.github.com/users/Sequoia/gists{/gist_id}","starred_url":"https://api.github.com/users/Sequoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sequoia/subscriptions","organizations_url":"https://api.github.com/users/Sequoia/orgs","repos_url":"https://api.github.com/users/Sequoia/repos","events_url":"https://api.github.com/users/Sequoia/events{/privacy}","received_events_url":"https://api.github.com/users/Sequoia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-23T17:18:32Z","updated_at":"2015-02-03T21:02:34Z","closed_at":null,"body":"I wish there were some way to list available scripts (as defined in `scripts` in composer.json).  Substack wrote a [nice article](http://substack.net/task_automation_with_npm_run) about using scripts in npm configs; I've been trying to carry it over to Composer for basic tasks that don't require a `.php` file/class definition.\r\n\r\n`composer run-script --list`\r\n`composer list-scripts`"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/72733964","html_url":"https://github.com/composer/composer/issues/3671#issuecomment-72733964","issue_url":"https://api.github.com/repos/composer/composer/issues/3671","id":72733964,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T21:02:34Z","updated_at":"2015-02-03T21:02:34Z","body":"Actually, to run most of such scripts, you don't even need to use `run-script`. You could just do `composer test`."}}