{"id":20626646,"url":"https://github.com/roosoft/cli","last_synced_at":"2026-04-22T04:34:40.519Z","repository":{"id":144771822,"uuid":"426638325","full_name":"RooSoft/cli","owner":"RooSoft","description":"Elixir CLI protype app accepting parameters and then quitting after doing some work","archived":false,"fork":false,"pushed_at":"2021-11-11T13:39:47.000Z","size":1071,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T06:27:25.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/RooSoft.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":"2021-11-10T13:46:24.000Z","updated_at":"2021-11-11T13:39:50.000Z","dependencies_parsed_at":"2023-04-26T00:03:09.259Z","dependency_job_id":null,"html_url":"https://github.com/RooSoft/cli","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/RooSoft%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RooSoft","download_url":"https://codeload.github.com/RooSoft/cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242483345,"owners_count":20135784,"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-16T13:14:15.920Z","updated_at":"2025-12-24T04:28:19.590Z","avatar_url":"https://github.com/RooSoft.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cli prototype app\n\nCLI protype app accepting parameters and then quitting after doing some work\n\nInspired by [blackode's post](https://medium.com/blackode/writing-the-command-line-application-in-elixir-78a8d1b1850)\n\n## How to compile\n```bash\nmix escript.build\n```\n\n## How to run\n```bash\n./cli cat --file contents.txt\n```\n\n```\nUnnamed arguments: [\"cat\"]\nNamed arguments: [file: \"contents.txt\"]\n```\n\n## The making of\n\n#### Create the project\n\n```bash\nmix new cli\n```\n\n#### In the `mix.exs`, add this to the project keyword list\n\n```elixir\nescript: [main_module: Cli.Main],\n```\n\n#### Build it\n\n```bash\nmix escript.build\n```\n\n#### Run it\n\n```bash\n./cli cat --file contents.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froosoft%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froosoft%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froosoft%2Fcli/lists"}