-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI-1485: Add SSH URL in alias list #1842
CLI-1485: Add SSH URL in alias list #1842
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1842 +/- ##
=========================================
Coverage 92.92% 92.92%
Complexity 1847 1847
=========================================
Files 123 123
Lines 6966 6968 +2
=========================================
+ Hits 6473 6475 +2
Misses 493 493 ☔ View full report in Codecov by Sentry. |
Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/1842/acli.phar
|
This makes the table about 160 characters wide, which is way beyond what I'd consider healthy (80-132 chars). I'm also not sure what's so special about the SSH URL that it should be displayed here: people could easily want other info such as the Git URL, domain names, etc... I can think of a few solutions, let me know what you prefer:
|
Use case for SSH URL was -
I think the missing part was as I didn;t know how to get the details after getting alias list. So I think option-2 |
Sounds good, can you update the PR or open a new one to include that message? |
Thanks! I have updated the MR. Now this will look like -
|
I think you're right that having the SSH URL in the table could be useful. It's a bit incongruous with the name of the command (maybe it should be renamed Let me know if you approve of my changes. |
Yes, I think changing the command name make sense because as per the current command remote:aliases:list, app name is mandatory argument and command returns info about Thus changing command name make sense to provide quick and useful info |
Adding SSH URL column for the drush alias list.
Impacted command -
acli remote:aliases:list
Context - We can ssh on server using
acli remote:drush ssh
. I needed to download some file (basicallyscp
) from the server to local but I didnt have the details of the ssh of server to do the scp as SCP.So I think it will be helpfull if drush alias list also provide this details so that this can be used if required
Output before -
Output after