{"id":18752557,"url":"https://github.com/broothie/kase","last_synced_at":"2025-04-13T00:31:19.504Z","repository":{"id":61742977,"uuid":"554611554","full_name":"broothie/kase","owner":"broothie","description":"Convert from one case to another","archived":false,"fork":false,"pushed_at":"2022-10-23T02:30:51.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T18:43:41.811Z","etag":null,"topics":["case","casing","cli","conventions"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/kase","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/broothie.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}},"created_at":"2022-10-20T04:59:53.000Z","updated_at":"2023-08-23T13:39:11.000Z","dependencies_parsed_at":"2022-10-20T17:00:20.999Z","dependency_job_id":null,"html_url":"https://github.com/broothie/kase","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/broothie%2Fkase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broothie%2Fkase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broothie%2Fkase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broothie%2Fkase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/broothie","download_url":"https://codeload.github.com/broothie/kase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650590,"owners_count":21139670,"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":["case","casing","cli","conventions"],"created_at":"2024-11-07T17:20:57.748Z","updated_at":"2025-04-13T00:31:19.201Z","avatar_url":"https://github.com/broothie.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `kase`\n\nConvert from one case to another. Input case is determined on a best-guess basis, but can be overridden with the --from flag.\n\n## Installation\n\n```shell script\ncargo install kase\n```\n\n## Usage\n\n### Example\n\n```console\n$ kase snake MyVariable\nmy_variable\n\n$ kase screaming-snake my_variable\nMY_VARIABLE\n\n$ kase kebab MY_VARIABLE\nmy-variable\n\n$ kase path my-variable\nmy/variable\n\n$ kase dot my/variable\nmy.variable\n\n$ kase camel my.variable\nmyVariable\n\n$ kase pascal myVariable\nMyVariable\n\n$ # If the best-guess for an input isn't right for your use case, you can use the `--from` flag:\n$ kase dot my_dir/my_path\nmy.dir/my.path\n\n$ kase --from path dot my_dir/my_path\nmy_dir.my_path\n```\n\n### Options\n\n```console\n$ kase -h\nConvert from one case to another. Input case is determined on a best-guess basis, but can be overridden with the --from flag.\n\nUsage: kase [OPTIONS] \u003cCASE\u003e [INPUT]\n\nArguments:\n  \u003cCASE\u003e   Case to convert to [possible values: snake, screaming-snake, kebab, path, dot, camel, pascal, lower]\n  [INPUT]  String to convert; if empty, reads from stdin\n\nOptions:\n  -f, --from \u003cFROM\u003e  Case to convert from, if best-guess isn't working [possible values: snake, screaming-snake, kebab, path, dot, camel, pascal, lower]\n      --debug        Debug mode\n  -h, --help         Print help information\n  -V, --version      Print version information\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroothie%2Fkase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroothie%2Fkase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroothie%2Fkase/lists"}