{"id":19044693,"url":"https://github.com/eschmidt42/simple-rust-cli","last_synced_at":"2025-07-25T05:06:26.005Z","repository":{"id":209140216,"uuid":"723099442","full_name":"eschmidt42/simple-rust-cli","owner":"eschmidt42","description":"This repository is a template to develop a rust-based cli tool and create binaries using github cicd with each release for a range of operating systems and rust releases.","archived":false,"fork":false,"pushed_at":"2023-11-25T10:41:07.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T08:21:05.411Z","etag":null,"topics":["binary","cli","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eschmidt42.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}},"created_at":"2023-11-24T17:23:45.000Z","updated_at":"2023-11-25T10:29:29.000Z","dependencies_parsed_at":"2023-11-25T11:29:38.398Z","dependency_job_id":"ef704879-d964-4fe4-b20d-8e9887e09c71","html_url":"https://github.com/eschmidt42/simple-rust-cli","commit_stats":null,"previous_names":["eschmidt42/simple-rust-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eschmidt42/simple-rust-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eschmidt42%2Fsimple-rust-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eschmidt42%2Fsimple-rust-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eschmidt42%2Fsimple-rust-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eschmidt42%2Fsimple-rust-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eschmidt42","download_url":"https://codeload.github.com/eschmidt42/simple-rust-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eschmidt42%2Fsimple-rust-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266959628,"owners_count":24012534,"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-07-25T02:00:09.625Z","response_time":70,"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":["binary","cli","rust"],"created_at":"2024-11-08T22:47:03.473Z","updated_at":"2025-07-25T05:06:25.978Z","avatar_url":"https://github.com/eschmidt42.png","language":"Rust","readme":"# simple rust cli\n\nThis repository is a template to develop a rust-based cli tool and create binaries using github cicd with each release for a range of operating systems and rust releases.\n\n## local setup\n\nGet rust, see https://rustup.rs/.\n\nGet the repo\n\n    git clone https://github.com/eschmidt42/simple-rust-cli\n\nThen run\n\n    cd simple-rust-cli\n    cargo test\n\nIf this worked you are good to go to develop locally.\n\n## github setup\n\n`./.github/workflows` contains `push_pull.yml` and `release.yml` to run github pipelines after push/pull or release events on github.\n\nThe `release.yml` produces tarballs of the rust code for `simple-rust-cli` compiled to binaries and tries to store them in a manually created release. In order to do that you have to make sure that in your repo settings under `Workflow permission` \"read and write permission\" is given as well as \"Allow GitHub Actions to create and approve pull request\" is ticked.\n\n## usage of binary\n\nThe creation of a release also generates tarballs for you selection of of operating system and rust. So to use your cli tool you can:\n\n1. download the tarball for you deployment system, e.g. ubuntu 20.04\n2. extract your tarball using `tar -xvf` (places a binary and a linked file into the same directory as your tarball)\n3. place the binary and linked file somewhere for usage, e.g. `/opt` or `~/bin`\n4. run\n\n## note for development\n\nYou'll certainly want to give your cli tool a different name. To do this you'll have to replace `simple-rust-cli` in:\n* `Cargo.toml`\n* `.github/workflows/`\n    * `push_pull.yml`\n    * `release.yml`\n\nHappy tinkering! :)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feschmidt42%2Fsimple-rust-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feschmidt42%2Fsimple-rust-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feschmidt42%2Fsimple-rust-cli/lists"}