{"id":22981019,"url":"https://github.com/rubyworks/yaml_command","last_synced_at":"2026-03-15T22:47:14.159Z","repository":{"id":2755086,"uuid":"3752799","full_name":"rubyworks/yaml_command","owner":"rubyworks","description":"YAML Command","archived":false,"fork":false,"pushed_at":"2014-08-23T15:31:42.000Z","size":268,"stargazers_count":22,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-06T21:27:43.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyworks.github.com/yaml_command","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyworks.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-18T04:31:28.000Z","updated_at":"2021-07-15T09:15:03.000Z","dependencies_parsed_at":"2022-09-08T05:50:39.937Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/yaml_command","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rubyworks/yaml_command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fyaml_command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fyaml_command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fyaml_command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fyaml_command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/yaml_command/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fyaml_command/sbom","scorecard":{"id":789052,"data":{"date":"2025-08-11","repo":{"name":"github.com/rubyworks/yaml_command","commit":"a2451885c3ef65465ef792bb883385b4ed42cb46"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T06:56:28.148Z","repository_id":2755086,"created_at":"2025-08-23T06:56:28.148Z","updated_at":"2025-08-23T06:56:28.148Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30553563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"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":[],"created_at":"2024-12-15T01:46:44.937Z","updated_at":"2026-03-15T22:47:14.133Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","readme":"# YAML COMMAND\n\n[Website](http://rubyworks.github.com/yaml_command) /\n[Report Issue](http://github.com/rubyworks/yaml_command/issues) /\n[Development](http://github.com/rubyworks/yaml_command) /\n[IRC Channel](irc://chat.us.freenode.net/rubyworks)\n\n\n## Description\n\nYAML Command is a command line tool for working with YAML files.\n\nWhile currently a work in progress, the goal is evolve the design\nfor a standardized `yaml` command line tool. While this early\nimplementation is written in Ruby, ultimately the final version\nwould be written in C and be widely available.\n\nIMPORTANT NOTE! YPath is not yet implemented so only simple name\nreferences can be used at this point.\n\n\n## Usage\n\nCommands are invoked on the command line with:\n\n    $ yaml \u003ccommand\u003e [options...] [arguments...]\n\n### Commands\n\nThe following commands are currently supported:\n\n* **get** \u003cbr/\u003e\n  The `get` command simply extracts a portion of a YAML file and outputs\n  it to stdout.\n\n* **set** \u003cbr/\u003e\n  The `set` command is the opposite of `get` in that it lets you change\n  a portion of a YAML file. By default the changed YAML document will go\n  to stdout, using the `-s/--save` option rewrites the file with the change.\n\n* **sort** \u003cbr/\u003e\n  The `sort` command can be used to sort portions of a YAML document.\n\n* **slurp** \u003cbr/\u003e\n  The `slurp` command takes a directory and converts it's contents into a YAML file.\n\n* **splat** \u003cbr/\u003e\n  The `splat` command takes a YAML file and converts it into a file directory structure.\n  It is essentially the opposite of slurp.\n\n* **edit** \u003cbr/\u003e\n  Edit will open a YAML file for editing in the default editor (as defined by \n  $EDITOR), and allow you to edit it.\n\n  If instead you edit a directory, then the directory will be automatically \n  slurped into a temporary file. After editing the temporary file will be\n  splatted back out to update the directory and it's files.\n\n* **view** \u003cbr/\u003e\n  Outputs a colorized rendering of the YAML file.\n\n### Options\n\nSome commands has special options. Use `yaml \u003ccommand\u003e --help` to learn about those.\nAll (or nearly all) commands support the following options.\n\n* **-F** / **--file [PATH]** \u003cbr/\u003e\n  Use the given YAML file instead of using stdin.\n\n* **-y** / **--yaml** \u003cbr/\u003e\n  Output results in YAML format.\n\n* **-j** / **--json** \u003cbr/\u003e\n  Output results in JSON format.\n\n* **-m** / **--mute** \u003cbr/\u003e\n  Suppress all output.\n\n* **-f** / **--force** \u003cbr/\u003e\n  Used to force overwrites when necessary.\n\n* **--debug** \u003cbr/\u003e\n  Turn on debug mode to get detailed error report if there is a problem.\n\n\n## Installation\n\n### Ruby Interpreter\n\nThe `yaml` command is a Ruby script, so you will need a Ruby interpreter installed on your system.\nThere are a few of these now, such as Rubinius, JRuby and the original MRI. The latter is the typical\nchoice, and usually can be installed via your operating system's package manager. For example, on\ndpkg-based systems like Ubuntu, you can type in a shell console:\n\n    $ apt-get install ruby\n\n### Using RubyGems\n\nWith Ruby installed, the easiest way to install a Ruby library is via RubyGems. To install YAML Command\njust type:\n\n    $ gem install yaml_command\n\n### Requirements\n\nYAML Command requires the following other packages be installed:\n\n* [Executable](http://rubyworks.github.com/executable) library handle CLI parsing.\n* [ANSI](http://rubyworks.github.com/ansi) library provides console colorization.\n\nIf you are using RubyGems these will be install automatically.\n\n\n## Copyrights\n\nCopyright (c) 2011 Rubyworks. All rights reserved.\n\nYAML Command may be distributed in accordance with the **BSD-2-Clause** license.\n\nSee the LICENSE.txt file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fyaml_command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fyaml_command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fyaml_command/lists"}