{"id":29718498,"url":"https://github.com/yaml/go-yaml-cli","last_synced_at":"2025-07-24T10:01:47.904Z","repository":{"id":305796251,"uuid":"1023933563","full_name":"yaml/go-yaml-cli","owner":"yaml","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-22T02:48:57.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-22T04:26:32.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaml.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"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,"zenodo":null}},"created_at":"2025-07-21T23:52:23.000Z","updated_at":"2025-07-22T02:49:01.000Z","dependencies_parsed_at":"2025-07-22T04:27:18.882Z","dependency_job_id":"8ebe62ea-ec03-4f84-af76-c8c7fd9da919","html_url":"https://github.com/yaml/go-yaml-cli","commit_stats":null,"previous_names":["yaml/go-yaml-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/yaml/go-yaml-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/go-yaml-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fgo-yaml-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266822796,"owners_count":23989865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-07-24T10:00:52.071Z","updated_at":"2025-07-24T10:01:47.891Z","avatar_url":"https://github.com/yaml.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-yaml-cli\n===========\n\nA command line tool for the `github.com/yaml/go-yaml` library\n\n\n## Description\n\nThis repo creates a command line tool called `go-yaml`.\n\nIt read YAML from stdin and outputs it in many formats, including the internal\nstates of `go-yaml`.\n\nThis program is extremely useful for understanding / debugging how\n[go-yaml](https://github.com/yaml/go-yaml) loads YAML documents.\n\nYou might want to use its output to report bugs for behaviors of go-yaml or its\ndownstream consumers.\n\n\n## Installation\n\nRun:\n\n```bash\n$ make install PREFIX=\u003cprefix\u003e\n```\n\nWhere `\u003cprefix\u003e` is the directory that contains a `bin` subdirectory where the\n`go-yaml` binary will be installed: `\u003cprefix\u003e/bin/go-yaml`.\n\nIf you have GOROOT set in your environment, you could use:\n\n```bash\n$ make install PREFIX=\"$GOROOT\"\n```\n\n\u003e Note: `go install github.com/yaml/go-yaml-cli@latest` doesn't work for\n\u003e this repo.\n\n\n## Usage\n\nThis program reads YAML from stdin and prints output according to the options\nyou give it (to stdout).\n\nExample commands:\n\n```\n$ go-yaml --help\n\n$ \u003cfile.yaml go-yaml -y\n$ \u003cfile.yaml go-yaml -Y\n$ \u003cfile.yaml go-yaml -J\n$ \u003cfile.yaml go-yaml -t -c\n$ \u003cfile.yaml go-yaml -e -p -c\n$ \u003cfile.yaml go-yaml -n\n```\n\n\n## Testing\n\n```\nmake test\n```\n\nNo dependencies required.\nOn first run, this will install all dependencies including a local installation\nof Go.\n\n\n## License\n\nCopyright 2025 - Ingy döt Net\n\nThis project is licensed under the Apache License, Version 2.0.\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fgo-yaml-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fgo-yaml-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fgo-yaml-cli/lists"}