{"id":19260784,"url":"https://github.com/evant/res","last_synced_at":"2025-02-23T18:24:41.042Z","repository":{"id":144875565,"uuid":"99874370","full_name":"evant/res","owner":"evant","description":"Commandline res manager for android","archived":false,"fork":false,"pushed_at":"2020-06-14T22:51:18.000Z","size":6,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T09:44:21.073Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/evant.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}},"created_at":"2017-08-10T02:54:50.000Z","updated_at":"2017-08-10T17:33:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"44dcd989-6821-47ec-9d0f-1686c3affc17","html_url":"https://github.com/evant/res","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evant%2Fres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evant%2Fres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evant%2Fres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evant%2Fres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evant","download_url":"https://codeload.github.com/evant/res/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240357508,"owners_count":19788727,"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":[],"created_at":"2024-11-09T19:22:53.270Z","updated_at":"2025-02-23T18:24:41.013Z","avatar_url":"https://github.com/evant.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Res\n\nA tool for managing android resources.\n\n### Usage\n\n#### Listing\n\nYou drawables\n```\nres ls drawable app/src/main/res\n\nimage1.png mdpi hdpi xhdpi\nimage2.png      hdpi xhdpi\n```\n\nYour layouts\n```\nres ls layout app/src/main/res\n\nactivity_main.xml\nfragment_overview.xml land\nfragment_detail.xml   land sw600dp\n```\n\n#### Copying/Moving\n\nSay you have a source directory that looks like\n```\nsource/\n    drawable-mdpi/\n        image1.png\n        image2.png\n    drawable-hdpi/\n        image1.png\n        image2.png\n    drawable-xhdpi/\n        image1.png\n        image2.png\n```\n\nand the destination `app/main/res/`\n\n```\nres cp drawable source/image1.png app/main/res\n```\ncopies just `image1.png` to `app/main/res/drawable-*`\n\n```\nres cp drawable source/image1.png app/main/res/new_image.png\n```\ncopies and renames `image1.png` to `new_image.png`\n\n\n```\nres mv drawable source/image1.png app/main/res\n```\nmoves `image1.png`\n\n#### Invalid Character Replacement\n\nAll file names will be made valid by striping/replacing invalid characters.\n\n* uppercase will be converted to lowercase\n* `.`, `-`, and ` ` will be converted to `_`\n\nFor example,\n```\nres cp drawable \"source/My Badly-named Image.png\" app/main/res\n```\nwill convert the name to `my_badly_named_image.png` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevant%2Fres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevant%2Fres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevant%2Fres/lists"}