{"id":20341273,"url":"https://github.com/pomdtr/ask","last_synced_at":"2025-06-12T20:33:45.676Z","repository":{"id":172182241,"uuid":"648955427","full_name":"pomdtr/ask","owner":"pomdtr","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-03T15:14:18.000Z","size":234,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T20:33:38.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pomdtr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2023-06-03T10:17:32.000Z","updated_at":"2023-07-02T20:33:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7b00d93-20f6-4567-8e07-e30ad5cb8d72","html_url":"https://github.com/pomdtr/ask","commit_stats":null,"previous_names":["pomdtr/survey"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pomdtr/ask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pomdtr","download_url":"https://codeload.github.com/pomdtr/ask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259522450,"owners_count":22870469,"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-14T21:26:43.089Z","updated_at":"2025-06-12T20:33:45.638Z","avatar_url":"https://github.com/pomdtr.png","language":"Go","readme":"# Ask\n\nA cli for the [survey](https://github.com/go-survey/survey) library, inspired by [gum](https://github.com/charmbracelet/gum).\n\n![demo](https://vhs.charm.sh/vhs-2rDv6Sx6xThz61l25M6dtl.gif)\n\n## Installation\n\n```bash\n# brew\nbrew install pomdtr/tap/ask\n\n# from source\ngo install github.com/pomdtr/ask@latest\n```\n\nOr download the packages from [github releases](https:github.com/pomdtr/ask/releases).\n\n## Usage\n\n### Ask for input\n\n```bash\nask \"What is your name?\"\n```\n\n### Ask for password\n\n```bash\nask --password \"What is your password?\"\n```\n\n### Ask for confirmation\n\n```bash\nask --confirm \"Are you sure?\"\n```\n\n### Ask for selection\n\n```bash\nls -1 | ask --select \"Select a file:\"\n```\n\n### Ask for long input\n\n```bash\nask --edit \"Write a commit message:\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomdtr%2Fask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpomdtr%2Fask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomdtr%2Fask/lists"}