{"id":6197,"date":"2012-08-16T12:03:23","date_gmt":"2012-08-16T06:33:23","guid":{"rendered":"https:\/\/2thenew.xyz\/blog\/?p=6197"},"modified":"2012-08-16T12:03:23","modified_gmt":"2012-08-16T06:33:23","slug":"auto-completion-for-grails-scripts-with-dynamic-version-determination","status":"publish","type":"post","link":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/","title":{"rendered":"Auto Completion for Grails Scripts with Dynamic Version Determination"},"content":{"rendered":"<p>We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn&#8217;t always the answer. Bash auto completion is one feature that I use a lot.<\/p>\n<p>To avoid the hassles of working with multiple grails projects, I use <a href=\"https:\/\/github.com\/deluan\/grails.sh\" target=\"_blank\">this script <\/a>and for auto completion, I use this wonderful <a href=\"http:\/\/naleid.com\/blog\/2008\/03\/25\/autocomplete-grails-script-names-in-bashzsh\/\" target=\"_blank\">auto completion script by Ted Naleid<\/a>. However, there were a few more scripts\/arguments which we thought would be a great addition to the auto-completion set. Scripts provided by plugins was one such set and this had to come from the appropriate directory under <em><strong>.grails\/$GRAILS_VERSION\/projects\/$PROJ_HOME\/plugins\/*\/scripts.<\/strong><\/em> Another set of options which I thought appropriate were the system properties that we provide.<\/p>\n<p>So, I came up with the custom auto completion script given below<\/p>\n<p>[shell]<\/p>\n<p>_grailsscripts() {<\/p>\n<p>    if [ -z &quot;$PROJ_DIR&quot; ]<br \/>\n    then<br \/>\n       if [ -e &quot;application.properties&quot; ]<br \/>\n       then<br \/>\n          export GRAILS_VERSION=`grep app.grails.version application.properties | sed -E &#8216;s\/.*=(.*)\/\\1\/&#8217;`<br \/>\n          export GRAILS_HOME=&quot;\/opt\/grails-$GRAILS_VERSION&quot;<br \/>\n          PWD=`pwd`<br \/>\n          export PROJ_DIR=`basename $PWD`<br \/>\n       fi<br \/>\n    fi<br \/>\n    SCRIPT_DIRS=&quot;$GRAILS_HOME\/scripts .\/scripts ~\/.grails\/scripts&quot;<br \/>\n    if [ &quot;$PROJ_DIR&quot; ]<br \/>\n       then for PLUGIN_DIR in $(ls -d ~\/.grails\/$GRAILS_VERSION\/projects\/$PROJ_DIR\/plugins\/*\/scripts 2&amp;gt; \/dev\/null); do<br \/>\n       SCRIPT_DIRS=&quot;$SCRIPT_DIRS $PLUGIN_DIR&quot;<br \/>\n       done<br \/>\n    fi<br \/>\n    if [ -d plugins ]<br \/>\n       then for PLUGIN_DIR in $(ls -d plugins\/*\/scripts 2&amp;gt; \/dev\/null); do<br \/>\n       SCRIPT_DIRS=&quot;$SCRIPT_DIRS $PLUGIN_DIR&quot;<br \/>\n       done<br \/>\n    fi<\/p>\n<p>    for D in $SCRIPT_DIRS; do<br \/>\n       if [ -d $D ]<br \/>\n         then ls -1 $D\/*.groovy 2&amp;gt; \/dev\/null | sed -E &#8216;s\/(.*)\\\/(.*)\\.groovy\/\\2\/&#8217; | sed -E &#8216;s\/([A-Z])\/-\\1\/g&#8217; | sed -E &#8216;s\/^-\/\/&#8217; | tr   &quot;[:upper:]&quot; &quot;[:lower:]&quot;<br \/>\n       fi<br \/>\n    done | sort | uniq | grep -vE &quot;^_&quot;<br \/>\n}<\/p>\n<p>grailsOpts=&quot;-Dserver.port= -Dgrails.env= test dev prod&quot;<\/p>\n<p>_grails() {<br \/>\n COMPREPLY=( $(compgen -W &quot;$(_grailsscripts) $grailsOpts&quot; &#8212; ${COMP_WORDS[COMP_CWORD]}) )<br \/>\n}<\/p>\n<p>complete -F _grails grails<br \/>\ncomplete -F _grails grails-debug<\/p>\n<p>[\/shell]<\/p>\n<p>Now, all you need is to add this script under \/etc\/bash_completion.d\/<br \/>\n<br \/>\nHope this helps you save a few keystrokes.<br \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn&#8217;t always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":6,"footnotes":""},"categories":[7],"tags":[865,519,4840,866,260,453,8],"class_list":["post-6197","post","type-post","status-publish","format-standard","hentry","category-grails","tag-bash-completion","tag-bash-script","tag-grails","tag-grails-script-auto-complete","tag-linux","tag-shell","tag-ubuntu"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn&#039;t always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vivek Krishna\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn&#039;t always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn&#039;t always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#article\",\"name\":\"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog\",\"headline\":\"Auto Completion for Grails Scripts with Dynamic Version Determination\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-08-16T12:03:23+05:30\",\"dateModified\":\"2012-08-16T12:03:23+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#webpage\"},\"articleSection\":\"Grails, bash completion, bash script, Grails, grails script auto complete, Linux, shell, Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#listItem\",\"name\":\"Auto Completion for Grails Scripts with Dynamic Version Determination\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#listItem\",\"position\":3,\"name\":\"Auto Completion for Grails Scripts with Dynamic Version Determination\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek\\\/\",\"name\":\"Vivek Krishna\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/07dba643a97b00215bacf46343f18d6cb7ab45f777264e13c22deb54f2cc830b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Vivek Krishna\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/\",\"name\":\"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog\",\"description\":\"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/auto-completion-for-grails-scripts-with-dynamic-version-determination\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek\\\/#author\"},\"datePublished\":\"2012-08-16T12:03:23+05:30\",\"dateModified\":\"2012-08-16T12:03:23+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog","description":"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use","canonical_url":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#article","name":"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog","headline":"Auto Completion for Grails Scripts with Dynamic Version Determination","author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/vivek\/#author"},"publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"},"datePublished":"2012-08-16T12:03:23+05:30","dateModified":"2012-08-16T12:03:23+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#webpage"},"articleSection":"Grails, bash completion, bash script, Grails, grails script auto complete, Linux, shell, Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.xyz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/2thenew.xyz\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#listItem","name":"Auto Completion for Grails Scripts with Dynamic Version Determination"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#listItem","position":3,"name":"Auto Completion for Grails Scripts with Dynamic Version Determination","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.xyz\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.xyz\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.xyz\/blog\/author\/vivek\/#author","url":"https:\/\/2thenew.xyz\/blog\/author\/vivek\/","name":"Vivek Krishna","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/07dba643a97b00215bacf46343f18d6cb7ab45f777264e13c22deb54f2cc830b?s=96&d=mm&r=g","width":96,"height":96,"caption":"Vivek Krishna"}},{"@type":"WebPage","@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#webpage","url":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/","name":"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog","description":"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/vivek\/#author"},"creator":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/vivek\/#author"},"datePublished":"2012-08-16T12:03:23+05:30","dateModified":"2012-08-16T12:03:23+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.xyz\/blog\/#website","url":"https:\/\/2thenew.xyz\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog","og:description":"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use","og:url":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/","og:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Auto Completion for Grails Scripts with Dynamic Version Determination | TO THE NEW Blog","twitter:description":"We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use","twitter:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"6197","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 08:10:00","updated":"2024-02-29 08:53:25","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAuto Completion for Grails Scripts with Dynamic Version Determination\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.xyz\/blog"},{"label":"Grails","link":"https:\/\/2thenew.xyz\/blog\/category\/grails\/"},{"label":"Auto Completion for Grails Scripts with Dynamic Version Determination","link":"https:\/\/2thenew.xyz\/blog\/auto-completion-for-grails-scripts-with-dynamic-version-determination\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/6197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/comments?post=6197"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/6197\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/media?parent=6197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/categories?post=6197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/tags?post=6197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}