{"id":797,"date":"2009-10-04T14:30:07","date_gmt":"2009-10-04T23:30:07","guid":{"rendered":"https:\/\/www.kellyrob99.com\/blog\/?p=797"},"modified":"2009-10-04T14:32:12","modified_gmt":"2009-10-04T23:32:12","slug":"groovy-clibuilder-with-multiple-arguments","status":"publish","type":"post","link":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/","title":{"rendered":"Groovy CliBuilder with multiple arguments"},"content":{"rendered":"<p>I&#8217;ve been writing a lot of Groovy scripts lately and have developed quite a fondness for the CliBuilder along the way.<br \/>\nThere&#8217;s lots of great examples on the internet, but I could only find one place that demonstrated how to easily consume an unknown number of parameters as a List and that was a copy of the <a href=\"http:\/\/www.koders.com\/noncode\/fidDB2306122CA9674CE22373B7C018173B53BF66A2.aspx\">CliBuilderTest I found on Koders<\/a>.  There&#8217;s also some explanation for the different behavior inherent in the <a href=\"http:\/\/commons.apache.org\/cli\/\">Apache Commons Cli<\/a> libraries V1.0 and V1.1 that CliBuilder encapsulates(there is a 1.2 version, but from the documentation it seems CliBuilder may not be fully compatible with it).<\/p>\n<p>Here&#8217;s a GroovyTestCase that exercises CliBuilder with multiple arguments.<\/p>\n<div>\n<pre class=\"brush: groovy; title: ; notranslate\" title=\"\">\r\npackage org.kar\r\nimport org.apache.commons.cli.Option\r\n\/**\r\n * Demonstrates usage of the CliBuilder with multiple arguments to create a List.\r\n *\/\r\nclass CliBuilderDemoTest\r\nextends GroovyTestCase {\r\n    \/**\r\n     * You can specify multiple arguments one at a time.\r\n     *\/\r\n    void testMultiOption() {\r\n        CliBuilder cli = new CliBuilder()\r\n        cli.with {\r\n            a longOpt: 'arguments', args: 2, required: true, 'Two arguments'\r\n        }\r\n        def args = &#x5B;'-a', 'arg1', '-a', 'arg2']\r\n        def options = cli.parse(args)\r\n\r\n        assert (options)\r\n        assertEquals('First arg is available with the -a option. ', 'arg1', options.a)\r\n        assertEquals('Should be two args, in order, available with the addition of an &quot;s&quot; to the option.',\r\n                &#x5B;'arg1', 'arg2'], options.as)\r\n    }\r\n\r\n    \/**\r\n     * You can specify multiple arguments together in a block, with a defined separator(in this case a comma).\r\n     *\/\r\n    void testMultiOptionWithSeparator() {\r\n        CliBuilder cli = new CliBuilder()\r\n        cli.with {\r\n            a longOpt: 'arguments', args: 2, required: true, valueSeparator: ',' as char,\r\n                    'Two arguments, separated by a comma'\r\n        }\r\n        def args = &#x5B;'-a', 'arg1,arg2']\r\n        def options = cli.parse(args)\r\n\r\n        assert (options)\r\n        assertEquals('First arg is available with the -a option. ', 'arg1', options.a)\r\n        assertEquals('Should be two args, in order.', &#x5B;'arg1', 'arg2'], options.as)\r\n    }\r\n\r\n    \/**\r\n     * You can also have any number of arguments by specifying UNLIMITED_VALUES.\r\n     *\/\r\n    void testUnlimitedArgs() {\r\n        CliBuilder cli = new CliBuilder()\r\n        cli.with {\r\n            a longOpt: 'arguments', args: Option.UNLIMITED_VALUES, required: true, valueSeparator: ',' as char,\r\n                    'Two arguments, separated by a comma'\r\n        }\r\n        def args = &#x5B;'-a', 'arg1,arg2,arg3']\r\n        def options = cli.parse(args)\r\n\r\n        assert (options)\r\n        assertEquals('First arg is available with the -a option. ', 'arg1', options.a)\r\n        assertEquals('Should be a list of args, in order.', &#x5B;'arg1', 'arg2', 'arg3'], options.as)\r\n\r\n        def args2 = &#x5B;'-a', 'argOnly']\r\n        def options2 = cli.parse(args2)\r\n\r\n        assert (options)\r\n        assertEquals('First arg is available with the -a option.', 'argOnly', options2.a)\r\n        assertEquals('Should be a list of args, with a single entry.', &#x5B;'argOnly'], options2.as)\r\n\r\n        def args3 = &#x5B;]\r\n        \/\/this will automagically print the usage string and any validation errors to System.out\r\n        def options3 = cli.parse(args3)\r\n        assertNull(options3)\r\n    }\r\n}\r\n\r\n<\/pre>\n<\/div>\n<p>Anyhow, hope that the next guy finds this info useful &#8211; it certainly has made my recent work writing Groovy scripts much easier!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been writing a lot of Groovy scripts lately and have developed quite a fondness for the CliBuilder along the way. There&#8217;s lots of great examples on the internet, but I could only find one place that demonstrated how to easily consume an unknown number of parameters as a List and that was a copy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[94,134,133,135,257,132,113],"class_list":["post-797","post","type-post","status-publish","format-standard","hentry","category-dev","tag-apache","tag-cli","tag-clibuilder","tag-command-line-interface","tag-groovy","tag-script","tag-thekaptain"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"TheKaptain\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"The Kaptain on ... stuff | Tales of development, life and the folly that goes along with both\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff\" \/>\n\t\t<meta property=\"og:description\" content=\"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-10-04T23:30:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-10-04T23:32:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.\" \/>\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.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#article\",\"name\":\"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff\",\"headline\":\"Groovy CliBuilder with multiple arguments\",\"author\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\"},\"datePublished\":\"2009-10-04T14:30:07-09:00\",\"dateModified\":\"2009-10-04T14:32:12-09:00\",\"inLanguage\":\"en-US\",\"commentCount\":8,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#webpage\"},\"articleSection\":\"Development, Apache, cli, CliBuilder, command line interface, Groovy, script, theKaptain\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"position\":2,\"name\":\"Development\",\"item\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#listItem\",\"name\":\"Groovy CliBuilder with multiple arguments\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#listItem\",\"position\":3,\"name\":\"Groovy CliBuilder with multiple arguments\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/category\\\/dev\\\/#listItem\",\"name\":\"Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\",\"name\":\"The Kaptain on ... stuff\",\"description\":\"Tales of development, life and the folly that goes along with both\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"TheKaptain\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e41f09f3548f065fe6967ac904d3ea2a638614c16d879cac47cfad64e5b1426a?s=96&d=monsterid&r=g\",\"width\":96,\"height\":96,\"caption\":\"TheKaptain\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#webpage\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/\",\"name\":\"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff\",\"description\":\"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/2009\\\/10\\\/04\\\/groovy-clibuilder-with-multiple-arguments\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2009-10-04T14:30:07-09:00\",\"dateModified\":\"2009-10-04T14:32:12-09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/\",\"name\":\"The Kaptain on ... stuff\",\"description\":\"Tales of development, life and the folly that goes along with both\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.kellyrob99.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff","description":"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.","canonical_url":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#article","name":"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff","headline":"Groovy CliBuilder with multiple arguments","author":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#organization"},"datePublished":"2009-10-04T14:30:07-09:00","dateModified":"2009-10-04T14:32:12-09:00","inLanguage":"en-US","commentCount":8,"mainEntityOfPage":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#webpage"},"isPartOf":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#webpage"},"articleSection":"Development, Apache, cli, CliBuilder, command line interface, Groovy, script, theKaptain"},{"@type":"BreadcrumbList","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.kellyrob99.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","position":2,"name":"Development","item":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#listItem","name":"Groovy CliBuilder with multiple arguments"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#listItem","position":3,"name":"Groovy CliBuilder with multiple arguments","previousItem":{"@type":"ListItem","@id":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/#listItem","name":"Development"}}]},{"@type":"Organization","@id":"https:\/\/www.kellyrob99.com\/blog\/#organization","name":"The Kaptain on ... stuff","description":"Tales of development, life and the folly that goes along with both","url":"https:\/\/www.kellyrob99.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author","url":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/","name":"TheKaptain","image":{"@type":"ImageObject","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e41f09f3548f065fe6967ac904d3ea2a638614c16d879cac47cfad64e5b1426a?s=96&d=monsterid&r=g","width":96,"height":96,"caption":"TheKaptain"}},{"@type":"WebPage","@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#webpage","url":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/","name":"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff","description":"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/#breadcrumblist"},"author":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.kellyrob99.com\/blog\/author\/admin\/#author"},"datePublished":"2009-10-04T14:30:07-09:00","dateModified":"2009-10-04T14:32:12-09:00"},{"@type":"WebSite","@id":"https:\/\/www.kellyrob99.com\/blog\/#website","url":"https:\/\/www.kellyrob99.com\/blog\/","name":"The Kaptain on ... stuff","description":"Tales of development, life and the folly that goes along with both","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.kellyrob99.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"The Kaptain on ... stuff | Tales of development, life and the folly that goes along with both","og:type":"article","og:title":"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff","og:description":"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.","og:url":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/","article:published_time":"2009-10-04T23:30:07+00:00","article:modified_time":"2009-10-04T23:32:12+00:00","twitter:card":"summary","twitter:title":"Groovy CliBuilder with multiple arguments | The Kaptain on ... stuff","twitter:description":"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List."},"aioseo_meta_data":{"post_id":"797","title":"Groovy CliBuilder with multiple arguments | #site_title","description":"Demonstrates usage of the Groovy CliBuilder with multiple arguments to create a List.","keywords":[{"label":"Groovy","value":"Groovy"},{"label":"Apache","value":"Apache"},{"label":"script","value":"script"},{"label":"CliBuilder","value":"CliBuilder"},{"label":"theKaptain","value":"theKaptain"},{"label":"cli","value":"cli"},{"label":"command line interface","value":"command line interface"}],"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":"","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,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-09 05:15:56","updated":"2025-11-29 20:26:59","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.kellyrob99.com\/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:\/\/www.kellyrob99.com\/blog\/category\/dev\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGroovy CliBuilder with multiple arguments\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.kellyrob99.com\/blog"},{"label":"Development","link":"https:\/\/www.kellyrob99.com\/blog\/category\/dev\/"},{"label":"Groovy CliBuilder with multiple arguments","link":"https:\/\/www.kellyrob99.com\/blog\/2009\/10\/04\/groovy-clibuilder-with-multiple-arguments\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prjtg-cR","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":24,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":824,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions\/824"}],"wp:attachment":[{"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kellyrob99.com\/blog\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}