{"id":13467948,"url":"https://github.com/m1guelpf/plz-cli","last_synced_at":"2025-05-15T02:03:19.260Z","repository":{"id":64781785,"uuid":"577992419","full_name":"m1guelpf/plz-cli","owner":"m1guelpf","description":"Copilot for your terminal","archived":false,"fork":false,"pushed_at":"2024-01-19T00:42:38.000Z","size":18,"stargazers_count":1600,"open_issues_count":11,"forks_count":81,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-13T23:54:09.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/m1guelpf.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"m1guelpf"}},"created_at":"2022-12-14T02:01:02.000Z","updated_at":"2025-04-11T18:01:26.000Z","dependencies_parsed_at":"2024-01-17T12:56:34.258Z","dependency_job_id":"9f38583e-d2d2-435e-b51c-521c6b417765","html_url":"https://github.com/m1guelpf/plz-cli","commit_stats":{"total_commits":18,"total_committers":8,"mean_commits":2.25,"dds":0.6111111111111112,"last_synced_commit":"9d4549ba972a3b0d03533dced6539c6f45b3d5fd"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fplz-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fplz-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fplz-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fplz-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1guelpf","download_url":"https://codeload.github.com/m1guelpf/plz-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259369,"owners_count":22040819,"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-07-31T15:01:03.012Z","updated_at":"2025-05-15T02:03:19.229Z","avatar_url":"https://github.com/m1guelpf.png","language":"Rust","funding_links":["https://github.com/sponsors/m1guelpf"],"categories":["Rust","CLIs"],"sub_categories":[],"readme":"# Copilot, for your terminal\n\nA CLI tool that generates shell scripts from a human readable description.\n\n## Installation\n\nYou can install `plz` by running the following command in your terminal.\n\n```\ncurl -fsSL https://raw.githubusercontent.com/m1guelpf/plz-cli/main/install.sh | sh -\n```\n\n### Homebrew\n\nYou can also install `plz` using [Homebrew](https://brew.sh/).\n\n```sh\n$ brew install plz-cli\n```\n\nYou may need to close and reopen your terminal after installation. Alternatively, you can download the binary corresponding to your OS from the [latest release](https://github.com/m1guelpf/plz-cli/releases/latest).\n\n## Usage\n\n`plz` uses [GPT-3](https://beta.openai.com/). To use it, you'll need to grab an API key from [your dashboard](https://beta.openai.com/), and save it to `OPENAI_API_KEY` as follows (you can also save it in your bash/zsh profile for persistance between sessions).\n\n```bash\nexport OPENAI_API_KEY='sk-XXXXXXXX'\n```\n\nOnce you have configured your environment, run `plz` followed by whatever it is that you want to do (`plz show me all options for the plz cli`).\n\nTo get a full overview of all available options, run `plz --help`\n\n```sh\n$ plz --help\nGenerates bash scripts from the command line\n\nUsage: plz [OPTIONS] \u003cPROMPT\u003e\n\nArguments:\n  \u003cPROMPT\u003e  Description of the command to execute\n\nOptions:\n  -y, --force    Run the generated program without asking for confirmation\n  -h, --help     Print help information\n  -V, --version  Print version information\n```\n\n## Develop\n\nMake sure you have the latest version of rust installed (use [rustup](https://rustup.rs/)). Then, you can build the project by running `cargo build`, and run it with `cargo run`.\n\n## License\n\nThis project is open-sourced under the MIT license. See [the License file](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fplz-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1guelpf%2Fplz-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fplz-cli/lists"}