{"id":15715658,"url":"https://github.com/seann-moser/homebrew-caseconvert","last_synced_at":"2026-01-04T17:01:32.630Z","repository":{"id":247820196,"uuid":"826915544","full_name":"Seann-Moser/homebrew-CaseConvert","owner":"Seann-Moser","description":"homebrew-CaseConvert is a command-line tool for converting text between various cases like camelCase, snake_case, and PascalCase, easily installable via Homebrew.","archived":false,"fork":false,"pushed_at":"2024-07-16T18:49:59.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T16:41:33.412Z","etag":null,"topics":["cli","converter","go","homebrew","linux","open-source"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Seann-Moser.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":"2024-07-10T16:27:41.000Z","updated_at":"2024-07-31T07:01:15.000Z","dependencies_parsed_at":"2024-10-24T12:57:57.699Z","dependency_job_id":"8109dba0-c62a-4abc-968f-b8ccaa536f6d","html_url":"https://github.com/Seann-Moser/homebrew-CaseConvert","commit_stats":null,"previous_names":["seann-moser/caseconvert","seann-moser/homebrew-caseconvert"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seann-Moser%2Fhomebrew-CaseConvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seann-Moser%2Fhomebrew-CaseConvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seann-Moser%2Fhomebrew-CaseConvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seann-Moser%2Fhomebrew-CaseConvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seann-Moser","download_url":"https://codeload.github.com/Seann-Moser/homebrew-CaseConvert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656173,"owners_count":20488636,"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","converter","go","homebrew","linux","open-source"],"created_at":"2024-10-03T21:42:16.225Z","updated_at":"2026-01-04T17:01:32.537Z","avatar_url":"https://github.com/Seann-Moser.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Install\n```bash\nbrew tap Seann-Moser/CaseConvert\nbrew install caseconvert\n```\n\n```bash\ngit clone git@github.com:Seann-Moser/CaseConvert.git\ncd CaseConvert \ngo mod vendor\ngo install\n```\n\n### Example\n#### FZF\n```bash\n./caseconvert conv -h | fzf | awk '{print $2}' | casec conv\n\n```\n\n\n### CLI Tool Usage\n\nThe `CaseConvert` CLI tool allows you to convert strings to various case formats. Below are some examples of how to use it based on the provided code.\n\n### Available Flags\n\n- **--input, -i**: Specifies the input string to convert. If not provided, the tool will read from standard input.\n- **--snake, -s**: Converts the input to snake_case.\n- **--camel, -c**: Converts the input to camelCase.\n- **--pascal, -p**: Converts the input to PascalCase.\n- **--kebab, -k**: Converts the input to kebab-case.\n- **--env, -e**: Converts the input to ENV_VAR_CASE.\n- **--case**: Allows specifying a custom case type.\n\n### Examples\n\n1. **Convert to Camel Case**:\n   ```bash\n   ./caseconvert conv --input \"example text\" --camel\n   ```\n   Output: `exampleText`\n\n2. **Convert to Snake Case**:\n   ```bash\n   ./caseconvert conv --input \"example text\" --snake\n   ```\n   Output: `example_text`\n\n3. **Convert to Pascal Case**:\n   ```bash\n   ./caseconvert conv --input \"example text\" --pascal\n   ```\n   Output: `ExampleText`\n\n4. **Convert to Kebab Case**:\n   ```bash\n   ./caseconvert conv --input \"example text\" --kebab\n   ```\n   Output: `example-text`\n\n5. **Convert to Environment Variable Case**:\n   ```bash\n   ./caseconvert conv --input \"example text\" --env\n   ```\n   Output: `EXAMPLE_TEXT`\n\n6. **Using Standard Input**:\n   ```bash\n   echo \"example text\" | ./caseconvert conv --camel\n   ```\n   Output: `exampleText`\n\nThis will convert the input string to the specified custom case type.\n\n### Help Command\n\nTo display the help message with a list of available commands and options:\n\n```bash\n./caseconvert conv --help\n```\n\nThis provides detailed usage instructions and information about all available flags and commands. For more information, visit the [CaseConvert repository](https://github.com/Seann-Moser/CaseConvert).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseann-moser%2Fhomebrew-caseconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseann-moser%2Fhomebrew-caseconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseann-moser%2Fhomebrew-caseconvert/lists"}