{"id":15174157,"url":"https://github.com/judimator/augurken","last_synced_at":"2026-02-02T12:06:15.747Z","repository":{"id":238707663,"uuid":"795676199","full_name":"judimator/augurken","owner":"judimator","description":"Gherkin feature formatter","archived":false,"fork":false,"pushed_at":"2024-10-03T22:42:04.000Z","size":59,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-23T13:52:21.847Z","etag":null,"topics":["behat","cucumber","formatter","gherkin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/judimator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-03T19:35:34.000Z","updated_at":"2024-07-30T08:44:53.000Z","dependencies_parsed_at":"2024-05-07T16:56:34.379Z","dependency_job_id":"90ab28f7-b56d-4af6-99c1-cf7c84cb8df9","html_url":"https://github.com/judimator/augurken","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"139ce769fb841a61146c89be54857ec65b5dfde7"},"previous_names":["judimator/augurken"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/judimator/augurken","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judimator%2Faugurken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judimator%2Faugurken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judimator%2Faugurken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judimator%2Faugurken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/judimator","download_url":"https://codeload.github.com/judimator/augurken/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judimator%2Faugurken/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T10:37:29.253Z","status":"ssl_error","status_checked_at":"2026-02-02T10:37:28.644Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behat","cucumber","formatter","gherkin"],"created_at":"2024-09-27T11:40:18.969Z","updated_at":"2026-02-02T12:06:15.699Z","avatar_url":"https://github.com/judimator.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Augurken is a tool to format [Gherkin](https://cucumber.io/docs/gherkin/reference) features.\n\n# Install\u003ca id=\"install\"\u003e\u003c/a\u003e\n\nDownload the latest binary for your architecture [here](https://github.com/judimator/augurken/releases/latest).\n\n# Usage\u003ca id=\"usage\"\u003e\u003c/a\u003e\n\n```\nUsage:\n  augurken [command]\n\nAvailable Commands:\n  check       Check formatting of gherkin file(s)\n  completion  Generate the autocompletion script for the specified shell\n  format      Format gherkin file(s)\n  help        Help about any command\n\nFlags:\n  -h, --help         help for augurken\n  -i, --indent int   set the indentation for Gherkin features (default 2)\n  -v, --version      version for augurken\n \nUse \"augurken [command] --help\" for more information about a command.\n```\n\nFormat a feature file\n\n```shell\n$ augurken format /path/to/filename.feature\n```\n\nFormat a folder with features\n\n```shell\n$ augurken format /path/to/features\n```\n\nFormat a feature file with indent. Augurken uses **space** as indent\n\n```shell\n$ augurken format -i 2 /path/to/filename.feature\n```\n\n⚠️ Augurken works only on `UTF-8` encoded files, it will detect and convert automatically files that are not encoded in this charset.\n\n# Features\n- Format Gherkin features\n- Format JSON in step doc string\n- Scenario Outline. Recognize and compact JSON inside table \n\n ## Supported JSON format in step doc string \n\n```json\n{\n  ...\n  \"key\": \u003cvalue\u003e,\n  ...\n}\n```\n\n```json\n{\n  ...\n  \"key1\": \u003cvalue1\u003e,\n  \u003cplaceholder1\u003e,\n  \u003cplaceholder2\u003e,\n  ...\n}\n```\n\n```json\n[\n  ...\n  \u003cvalue1\u003e,\n  \u003cvalue2\u003e,\n  \"value3\",\n  ...\n]\n```\n\n## Compact JSON inside table\n\nExamples like\n\n```gherkin\nFeature: The feature\n\n  Scenario Outline: Compact json\n    Given I load data:\n    \"\"\"\n    \u003cdata\u003e\n    \"\"\"\n    Examples:\n      | data                                       |\n      | {\"key1\":   \"value2\",   \"key2\":   \"value2\"} |\n      | [1,   2,   3]                              |\n```\n\nbecome\n\n```gherkin\nFeature: The feature\n\n  Scenario Outline: Compact json\n    Given I load data:\n    \"\"\"\n    \u003cdata\u003e\n    \"\"\"\n    Examples:\n      | data                              |\n      | {\"key1\":\"value2\",\"key2\":\"value2\"} |\n      | [1,2,3]                           |\n```\n\n# Contribute\u003ca id=\"contribute\"\u003e\u003c/a\u003e\n\nIf you want to add a new feature, open an issue with proposal\n\n# Acknowledgements\n\nThanks [antham](https://github.com/antham) for the idea and some functions. Also, some functions got from [here](https://github.com/antham/ghokin) and official Go encoding [library](https://github.com/golang/go/tree/master/src/encoding/json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudimator%2Faugurken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjudimator%2Faugurken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudimator%2Faugurken/lists"}