{"id":22769729,"url":"https://github.com/bfontaine/ruby-cli-app-skeleton","last_synced_at":"2025-09-03T22:35:03.867Z","repository":{"id":16361745,"uuid":"19111831","full_name":"bfontaine/ruby-cli-app-skeleton","owner":"bfontaine","description":"Ruby CLI app skeleton","archived":false,"fork":false,"pushed_at":"2014-04-24T14:45:53.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-31T20:59:40.890Z","etag":null,"topics":["cli","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/bfontaine.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":"2014-04-24T14:38:36.000Z","updated_at":"2019-09-16T17:57:30.000Z","dependencies_parsed_at":"2022-09-01T23:31:25.148Z","dependency_job_id":null,"html_url":"https://github.com/bfontaine/ruby-cli-app-skeleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bfontaine/ruby-cli-app-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Fruby-cli-app-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Fruby-cli-app-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Fruby-cli-app-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Fruby-cli-app-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfontaine","download_url":"https://codeload.github.com/bfontaine/ruby-cli-app-skeleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Fruby-cli-app-skeleton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273523155,"owners_count":25120860,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ruby"],"created_at":"2024-12-11T15:14:49.855Z","updated_at":"2025-09-03T22:35:03.796Z","avatar_url":"https://github.com/bfontaine.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby CLI App Skeleton\n\nThis project is a personal utility to bootstrap Ruby CLI applications that use\neither an external HTTP API or parse HTML.\n\n## Usage\n\n    git clone https://github.com/bfontaine/ruby-cli-app-skeleton.git my-app\n    cd my-app\n    rm .no-replacement\n    # edit values in replace.rb\n    vim replace.rb\n    ./replace.rb\n\n### Defining values\n\nValues are defined at the top of `replace.rb`. Each key must be a word with\nonly upper-cased letters and underscores. Each value should be a string. If it\nstarts with an “equal” symbol (`=`), it can take the same value as another key\n(e.g. `=FOO`).\n\nInitial values are:\n\n- `NAME`: the name of the project (for the README)\n- `GEM`: the gem name\n- `REPO`: the GitHub repository name\n- `MODULE`: the main module name\n- `BIN`: the name of the binary file (default: same as `GEM`)\n- `LIB`: the name of the required file (default: same as `GEM`)\n- `AUTHOR`: the author’s name\n- `EMAIL`: the author’s email\n- `GITHUB_USER`: your GitHub username\n\nYou can override a value by giving it on the command-line:\n\n    ./replace.rb FOO=42 BAR=\"my name\"\n\n### Adding placeholders\n\nPlaceholders are written with a key between curly brackets (e.g.: `{FOO}`).\nThey can be in a file’s name and/or its content. If a placeholder is\nencountered with no value in `replace.rb`, it’s kept as is.\n\n## What’s provided\n\n* `bin/`, `lib/` and `tests/` directories with basic files in them\n* Dependencies: Nokogiri, Trollop, and Fakeweb \u0026 test-unit for testing\n* Gem specification\n* An MIT `LICENSE` file and a `README.md` with SVG badges\n* Travis \u0026 Coveralls integration (you need to register the repo)\n* A `Rakefile` and a `.gitignore` files\n\nThis heavily based on the architecture of [`ud`][ud].\n\nAdditionally, the script create a fresh git repo and add a remote to your\nGitHub repo.\n\n\n[ud]: https://github.com/bfontaine/ud\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Fruby-cli-app-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfontaine%2Fruby-cli-app-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Fruby-cli-app-skeleton/lists"}