"body": "{\"version\":\"0.0.4\",\"templates\":{\"user_list\":{\"body\":\"| Email | Role |\\n| ----- | ---- |\\n~each var=$results~\\n| ~$item.email~ | ~$item.role~ |\\n~end~\\n\"},\"release_list\":{\"body\":\"| Name | Description |\\n| ---- | ----------- |\\n~each var=$results~\\n| ~$item.name~ | ~$item.descr~ |\\n~end~\\n\"},\"release_info\":{\"body\":\"~if cond=length($results) == 1~\\n~each var=$results~\\n```\\nName: ~$item.name~\\nDescription: ~$item.descr~\\nReleased By: ~$item.user~\\nReleased At: ~$item.created_at~\\nCommit: ~$item.commit~\\n```\\n~end~\\n~end~\\n~if cond=length($results) > 1~\\n| Name | Description |\\n| ---- | ----------- |\\n~each var=$results~\\n| ~$item.name~ | ~$item.descr~ |\\n~end~\\n~end~\\n\"},\"ps_list\":{\"body\":\"| Process | Command | State |\\n| ------- | ------- | ----- |\\n~each var=$results~\\n| ~$item.process~ | ~$item.command~ | ~$item.pretty_state~ |\\n~end~\\n\"},\"config_list\":{\"body\":\"| Key | Value |\\n| --- | ----- |\\n~each var=$results~\\n| ~$item.key~ | ~$item.value~ |\\n~end~\\n\"},\"app_list\":{\"body\":\"| Name | Owner |\\n| ---- | ----- |\\n~each var=$results~\\n| ~$item.name~ | ~$item.owner_email~ |\\n~end~\"},\"app_info\":{\"body\":\"~if cond=length($results) == 1~\\n~each var=$results~\\n```\\nDynos: ~$item.dynos~\\nGit URL: ~$item.git_url~\\nOwner: ~$item.owner_email~\\nRegion: ~$item.region~\\nRepo Size: ~$item.repo_size~\\nSlug Size: ~$item.slug_size~\\nStack: ~$item.stack~\\nWeb URL: ~$item.web_url~\\n```\\n~end~\\n~end~\\n~if cond=length($results) > 1~\\n| Dynos | Git URL | Web URL |\\n| ----- | ------- | ------- |\\n~each var=$results~\\n| ~$item.dynos~ | ~$item.git_url~ | ~$item.web_url~ |\\n~end~\\n~end~\"}},\"permissions\":[\"heroku:read\",\"heroku:write\",\"heroku:admin\"],\"name\":\"heroku\",\"long_description\":\"This bundle provides functionality similar to the heroku toolbelt. In fact,\\nit actually uses the same underlying ruby library, so the data returned will\\nlook familiar.\\n\\nAll commands will require credentials which can be provided by setting them\\nwith dynamic config. You must set either HEROKU_API_KEY or both\\nHEROKU_USERNAME and HEROKU_PASSWORD.\\n\",\"homepage\":\"https://github.com/cogcmd/heroku\",\"docker\":{\"tag\":\"0.0.3\",\"image\":\"cogcmd/heroku\"},\"description\":\"Manage heroku apps and organizations\",\"commands\":{\"user\":{\"subcommands\":{\"remove <email>\":\"Remove user by email\",\"list\":\"List all users\",\"add <email>\":\"Add user by email\"},\"rules\":[\"when command is heroku:user must have heroku:read\",\"when command is heroku:user with arg[0] == 'add' must have heroku:write\",\"when command is heroku:user with arg[0] == 'remove' must have heroku:write\"],\"options\":{\"app\":{\"type\":\"string\",\"required\":true}},\"executable\":\"/home/bundle/cog-command\",\"examples\":\"List all users:\\n\\n heroku:user list --app frosty-mountain-7639\\n\\nAdd a new user:\\n\\n heroku:user add
[email protected] --app frosty-mountain-7639\\n\\nRemove an existing user:\\n\\n heroku:user add
[email protected] --app frosty-mountain-7639\\n\",\"description\":\"List and manage organization membership\",\"arguments\":\"[list | add <email> | remove <email>]\"},\"release\":{\"subcommands\":{\"rollback <release>\":\"Rollback the app to a previous release\",\"list\":\"List all releases\",\"info <release>\":\"Display details about a release\"},\"rules\":[\"when command is heroku:release must have heroku:read\",\"when command is heroku:release with arg[0] == 'rollback' must have heroku:write\"],\"options\":{\"app\":{\"type\":\"string\",\"required\":true}},\"executable\":\"/home/bundle/cog-command\",\"examples\":\"List all releases:\\n\\n heroku:release list --app frosty-mountain-7639\\n\\nLook at a release:\\n\\n heroku:release info v285 --app frosty-mountain-7639\\n\\nRollback to an older release:\\n\\n heroku:release rollback v284 --app frosty-mountain-7639\\n\",\"description\":\"List and rollback to older releases\",\"arguments\":\"[list | info <release> | rollback <release>]\"},\"ps\":{\"subcommands\":{\"scale <dyno=amount> ...\":\"Scale dynos to the specified amount\",\"restart <dyno>\":\"Restart a dyno\",\"list\":\"List all processes (default)\"},\"rules\":[\"when command is heroku:ps must have heroku:read\",\"when command is heroku:ps with arg[0] == 'scale' must have heroku:write\",\"when command is heroku:ps with arg[0] == 'restart' must have heroku:write\"],\"options\":{\"app\":{\"type\":\"string\",\"required\":true}},\"executable\":\"/home/bundle/cog-command\",\"examples\":\"List all processes:\\n\\n heroku:ps --app frosty-mountain-7639\\n\\nScale up the web and api processes:\\n\\n heroku:ps scale web=4 api=8 --app frosty-mountain-7639\\n\\nRestart the web.1 process:\\n\\n heroku:ps restart web.1 --app frosty-mountain-7639\\n\",\"description\":\"List and modify processes of an app\",\"arguments\":\"[list | scale <dyno=amount> ... | restart <dyno>]\"},\"config\":{\"subcommands\":{\"unset\":\"Unset an environment variable\",\"set\":\"Set an environment variable\",\"list\":\"List all environment variables\"},\"rules\":[\"when command is heroku:config must have heroku:admin\",\"when command is heroku:config must have heroku:read\",\"when command is heroku:config with arg[0] == 'set' must have heroku:write\",\"when command is heroku:config with arg[0] == 'unset' must have heroku:write\"],\"options\":{\"app\":{\"type\":\"string\",\"required\":true}},\"executable\":\"/home/bundle/cog-command\",\"examples\":\"List all environment variables:\\n\\n heroku:config --app frosty-mountain-7639\\n\\nSet a new environment variable:\\n\\n heroku:config set LOG_LEVEL=warn --app frosty-mountain-7639\\n\\nUnset a new environment variable:\\n\\n heroku:config unset DEBUG --app frosty-mountain-7639\\n\",\"description\":\"List and modify environment variables for an app\",\"arguments\":\"[list | set <name=value> | unset <name>]\"},\"app\":{\"subcommands\":{\"list\":\"List all apps (default)\",\"info <app>\":\"Display details about an app\"},\"rules\":[\"when command is heroku:app must have heroku:read\"],\"executable\":\"/home/bundle/cog-command\",\"examples\":\"List all apps:\\n\\n heroku:app list\\n\\nView details about a specific app:\\n\\n heroku:app info frosty-mountain-7639\\n\",\"description\":\"List and display info about apps\",\"arguments\":\"[list | info <app>]\"}},\"cog_bundle_version\":4,\"author\":\"Patrick Van Stee <
[email protected]>\"}",
0 commit comments