{"id":19675961,"url":"https://github.com/danielde/snake","last_synced_at":"2025-02-27T05:42:19.451Z","repository":{"id":68167596,"uuid":"241271932","full_name":"DanielDe/snake","owner":"DanielDe","description":"Simple command line utility for transforming input to different cases","archived":false,"fork":false,"pushed_at":"2020-02-18T04:51:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T18:49:37.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielDe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-02-18T04:26:55.000Z","updated_at":"2020-02-18T04:51:54.000Z","dependencies_parsed_at":"2023-03-19T02:06:45.136Z","dependency_job_id":null,"html_url":"https://github.com/DanielDe/snake","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/DanielDe%2Fsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDe%2Fsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDe%2Fsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDe%2Fsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDe","download_url":"https://codeload.github.com/DanielDe/snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240985567,"owners_count":19889109,"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-11T17:26:36.694Z","updated_at":"2025-02-27T05:42:19.426Z","avatar_url":"https://github.com/DanielDe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snake\n\nA simple command line utility for transforming input with spaces to different cases:\n\n```\n$ snake add date of birth to users table\nadd_date_of_birth_to_users_table\n\n$ snake --kebab add date of birth to users table\nadd-date-of-birth-to-users-table\n\n$ snake --pascal add date of birth to users table\nAddDateOfBirthToUsersTable\n\n$ snake --camel add date of birth to users table\naddDateOfBirthToUsersTable\n```\n\n## Installation\n\nPut the `snake` file somewhere in your path, like in `/usr/bin/`.\n\nI'm also working on getting this on Homebrew!\n\n## Why?\n\nHitting the space bar is easier than typing an underscore. And this was easy to do.\n\nThis was my motivating use case:\n\n```\nrails g migration $(snake add date of birth to users table)\n```\n\nBut I bet it'll be useful elsewhere too.\n\n## Aliasas\n\nI recommend creating some shell aliases for cases you use often:\n\n```\nalias kebab=\"snake --kebab\"\nalias camel=\"snake --camel\"\nalias pascal=\"snake --pascal\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielde%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielde%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielde%2Fsnake/lists"}