Currently in the heroku CLI, the root heroku help outputs a list of commands with their descriptions, with the pg command missing a description.Screenshot:
The same is also true for heroku help pg, where the pg:copy command is missing a description as well.
Screenshot:
Changes Proposed:
The pg command is missing its description possibly due to the fact that the class is split between pg_backups.rb and pg.rb - where the description is present in pg.rb and absent in pg_backups.rb. Copying the description over to pg_backups.rb fixes the missing pg description.
The description for the pg:copy command was formatted differently than the rest of the other regular subcommand descriptions, with the description written beneath the flag descriptions. Moving the main description immediately below the CLI definition fixed this problem.
Screenshots of heroku help CLI once this fix is built:
Summary:
pg
command CLI descriptionpg:copy
command CLI descriptionCurrently in the heroku CLI, the root![screenshot from 2016-11-28 14-52-28](https://cloud.githubusercontent.com/assets/7256178/20689585/0dcde31e-b57b-11e6-894a-84c5faa73ef0.png)
heroku help
outputs a list of commands with their descriptions, with thepg
command missing a description. Screenshot:The same is also true for![screenshot from 2016-11-28 14-52-56](https://cloud.githubusercontent.com/assets/7256178/20689598/1b2886fe-b57b-11e6-9751-2221f0e52228.png)
heroku help pg
, where thepg:copy
command is missing a description as well. Screenshot:Changes Proposed:
The
pg
command is missing its description possibly due to the fact that the class is split betweenpg_backups.rb
andpg.rb
- where the description is present inpg.rb
and absent inpg_backups.rb
. Copying the description over topg_backups.rb
fixes the missingpg
description.The description for the
pg:copy
command was formatted differently than the rest of the other regular subcommand descriptions, with the description written beneath the flag descriptions. Moving the main description immediately below the CLI definition fixed this problem.Screenshots of![screenshot from 2016-11-28 14-54-41](https://cloud.githubusercontent.com/assets/7256178/20690057/4166fc9a-b57d-11e6-9366-0abf83d883c4.png)
heroku help
CLI once this fix is built:cc: @dickeyxxx @ransombriggs