Skip to content

Conversation

@BhargavBhandari90
Copy link
Contributor

Fixes: #120

Adding url in the wp get post $ID command

@BhargavBhandari90 BhargavBhandari90 requested a review from a team as a code owner November 12, 2022 17:43
@BhargavBhandari90 BhargavBhandari90 changed the title Issue #120: Add post perma link in get comand WIP: Issue #120: Add post perma link in get comand Nov 12, 2022
@BhargavBhandari90
Copy link
Contributor Author

@danielbachhuber Behat test might needs improvement. But I didn't understand what to do. As of now, I wrote this small test.

@BhargavBhandari90 BhargavBhandari90 changed the title WIP: Issue #120: Add post perma link in get comand Issue #120: Add post perma link in get comand Nov 14, 2022
@danielbachhuber danielbachhuber changed the title Issue #120: Add post perma link in get comand Add '--field=url' support for wp post get Nov 14, 2022
@danielbachhuber danielbachhuber changed the title Add '--field=url' support for wp post get Add '--field=url' support for posts, comments, and terms Nov 14, 2022
@danielbachhuber danielbachhuber added command:term-get Related to 'term get' command command:comment-get Related to 'comment get' command command:post-get Related to 'post get' command labels Nov 14, 2022
@danielbachhuber danielbachhuber added this to the 2.4.0 milestone Nov 14, 2022
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I made some tweaks you might want to look through ^

@danielbachhuber danielbachhuber merged commit 500a497 into wp-cli:master Nov 14, 2022
@BhargavBhandari90
Copy link
Contributor Author

Thanks @danielbachhuber

I've seen those tweaks. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:comment-get Related to 'comment get' command command:post-get Related to 'post get' command command:term-get Related to 'term get' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a means of fetching the permalink to a post

3 participants