{"id":19603962,"url":"https://github.com/pbzweihander/howto","last_synced_at":"2025-08-16T16:34:06.769Z","repository":{"id":62440217,"uuid":"145510455","full_name":"pbzweihander/howto","owner":"pbzweihander","description":"instant coding answers via the command line, inspired by gleitz/howdoi","archived":false,"fork":false,"pushed_at":"2020-01-04T07:16:36.000Z","size":73,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T23:55:55.612Z","etag":null,"topics":["cli","rust","search","stackoverflow"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/pbzweihander.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":"2018-08-21T05:20:21.000Z","updated_at":"2021-01-05T02:26:34.000Z","dependencies_parsed_at":"2022-11-01T21:50:02.370Z","dependency_job_id":null,"html_url":"https://github.com/pbzweihander/howto","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/pbzweihander%2Fhowto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbzweihander%2Fhowto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbzweihander%2Fhowto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbzweihander%2Fhowto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbzweihander","download_url":"https://codeload.github.com/pbzweihander/howto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251195960,"owners_count":21550877,"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","rust","search","stackoverflow"],"created_at":"2024-11-11T09:33:58.693Z","updated_at":"2025-04-27T19:32:30.652Z","avatar_url":"https://github.com/pbzweihander.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# howto\n\n[![circleci](https://circleci.com/gh/pbzweihander/howto.svg?style=shield)](https://circleci.com/gh/pbzweihander/howto)\n[![lib crate.io](https://img.shields.io/crates/v/howto.svg)](https://crates.io/crates/howto)\n[![lib docs.rs](https://docs.rs/howto/badge.svg)](https://docs.rs/howto)\n[![bin crate.io](https://img.shields.io/crates/v/howto-cli.svg)](https://crates.io/crates/howto-cli)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nGet instant coding answers via the command line. Inspired by [gleitz/howdoi](https://github.com/gleitz/howdoi)\n\n## The Library\n\n### Usage\n\n```rust\nlet answers = howto(\u0026query).await;\nlet answer = answers.next().await.unwrap();\n\nprintln(\"{}\", answer.instruction);\n```\n\n## The CLI\n\n### Installation\n\n#### Run with Docker\n\n```bash\ndocker run --rm -it pbzweihander/howto QUERY\n```\n\n#### Install with Cargo\n\n```bash\ncargo install howto-cli\nhowto QUERY\n```\n\n#### Build yourself\n\n```bash\ngit clone https://github.com/pbzwehiander/howto.git\ncd howto/howto-cli\ncargo build --release\ncargo install --path .\nhowto QUERY\n```\n\n### Usage\n\n```\nhowto-cli 0.3.0\n\nUSAGE:\n    howto-cli [FLAGS] [OPTIONS] [query]...\n\nFLAGS:\n    -h, --help       Prints help information\n    -f, --full       Whether display the full text of the answer\n    -l, --link       Whether display only the answer link\n    -V, --version    Prints version information\n\nOPTIONS:\n    -n, --num-answers \u003cnum-answers\u003e    Number of answers to return [default: 1]\n    -p, --position \u003cposition\u003e          Select answer in specified position [default: 0]\n\nARGS:\n    \u003cquery\u003e...    \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbzweihander%2Fhowto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbzweihander%2Fhowto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbzweihander%2Fhowto/lists"}