{"id":19359757,"url":"https://github.com/codacy/ytool","last_synced_at":"2025-04-23T11:32:54.928Z","repository":{"id":35006399,"uuid":"195676386","full_name":"codacy/ytool","owner":"codacy","description":"A simple tool to set values in yaml files preserving format and comments.","archived":false,"fork":false,"pushed_at":"2022-06-15T23:47:14.000Z","size":28,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-20T11:43:59.323Z","etag":null,"topics":["cli","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/codacy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-07-07T16:59:25.000Z","updated_at":"2023-12-07T06:22:30.000Z","dependencies_parsed_at":"2022-09-15T23:20:30.893Z","dependency_job_id":null,"html_url":"https://github.com/codacy/ytool","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fytool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fytool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fytool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fytool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/ytool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250425587,"owners_count":21428583,"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","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":["cli","yaml"],"created_at":"2024-11-10T07:16:02.156Z","updated_at":"2025-04-23T11:32:54.643Z","avatar_url":"https://github.com/codacy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"======\nYTool\n======\n\nA simple tool to set values in yaml files preserving format and comments.\nThis command line tool is based on `ruamel.yaml \u003chttps://pypi.org/project/ruamel.yaml\u003e`__\n\n^^^^^^^^^^^^^^^^^^^^^^^^\nInstall:\n^^^^^^^^^^^^^^^^^^^^^^^^\n\nYtool can be installed simply by running:\n\n.. code-block:: bash\n\n    $ pip install ytool\n\n\n^^^^^^^^^^^^^^^^^^^^^^^^\nExample:\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ ytool -f some.yaml -s some.string.key value -d float_key 9.9  -i int.key.path 10\n\n^^^^^^^^^^^^^^^^^^^^^^^^\nHelp:\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ usage: ytool [-h] --file FILE [--set-string path value] [--set-int path value]\n             [--set-float path value] [--output OUTPUT] [--edit-file]\n             [--verbose]\n\n    Set values in yaml file preserving format and comments.\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --file FILE, -f FILE  Name of the chart file to change\n      --set-string path value, -s path value\n                            Set string value for path\n      --set-int path value, -i path value\n                            Set integer value for path\n      --set-float path value, -d path value\n                            Set float value for path\n      --output OUTPUT, -o OUTPUT\n                            Name of output file\n      --edit-file, -e       Edit input file directly\n      --verbose, -v         Print debug information to stdout\n\n\n---------------\nWhat is Codacy?\n---------------\n\n`Codacy \u003chttps://www.codacy.com/\u003e`__ is an Automated Code Review Tool\nthat monitors your technical debt, helps you improve your code quality,\nteaches best practices to your developers, and helps you save time in\nCode Reviews.\n\n^^^^^^^^^^^^^^^^^^^^^^^^\nAmong Codacy’s features:\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n-  Identify new Static Analysis issues\n-  Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab\n   (and also direct git repositories)\n-  Auto-comments on Commits and Pull Requests\n-  Integrations with Slack, HipChat, Jira, YouTrack\n-  Track issues in Code Style, Security, Error Proneness, Performance,\n   Unused Code and other categories\n\nCodacy also helps keep track of Code Coverage, Code Duplication, and\nCode Complexity.\n\nCodacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among\nothers.\n\n^^^^^^^^^^^^^^^^^^^^\nFree for Open Source\n^^^^^^^^^^^^^^^^^^^^\n\nCodacy is free for Open Source projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fytool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fytool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fytool/lists"}