{"id":26078124,"url":"https://github.com/inthehack/noshell","last_synced_at":"2026-02-25T18:07:46.739Z","repository":{"id":281403019,"uuid":"941682554","full_name":"inthehack/noshell","owner":"inthehack","description":"noshell, a no_std argument parser and a shell for constrained systems.","archived":false,"fork":false,"pushed_at":"2026-02-12T13:54:18.000Z","size":222,"stargazers_count":28,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-12T18:19:11.316Z","etag":null,"topics":["embedded","no-alloc","no-std","parser","rust","shell"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/noshell","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inthehack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-02T21:11:02.000Z","updated_at":"2026-01-26T23:19:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"65b6a98c-50dd-442c-8729-3d39084461f6","html_url":"https://github.com/inthehack/noshell","commit_stats":null,"previous_names":["inthehack/noshell"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/inthehack/noshell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fnoshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fnoshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fnoshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fnoshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inthehack","download_url":"https://codeload.github.com/inthehack/noshell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inthehack%2Fnoshell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29833849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T17:57:15.019Z","status":"ssl_error","status_checked_at":"2026-02-25T17:56:11.472Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["embedded","no-alloc","no-std","parser","rust","shell"],"created_at":"2025-03-09T03:49:49.103Z","updated_at":"2026-02-25T18:07:46.733Z","avatar_url":"https://github.com/inthehack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# noshell\n\n[![crates.io](https://img.shields.io/crates/d/noshell.svg)](https://crates.io/crates/noshell)\n[![crates.io](https://img.shields.io/crates/v/noshell.svg)](https://crates.io/crates/noshell)\n[![Documentation](https://docs.rs/noshell/badge.svg)](https://docs.rs/noshell)\n\n`noshell`, a `no_std` argument parser and a shell for constrained systems.\n\n# Rationale\n\nThis crate provides a working but yet minimal implementation of a argument parser. It could be used\nfor parsing command line arguments in applications that require a shell for instance.\n\nThis crate does not rely on crate `alloc` but `heapless` for the result of argument parsing. This\ncould be mitigated and improved in a near future. As such, it could be used in very constrained and\ncritical embedded developments.\n\n# Example\n\n```rust\n#[derive(Debug, noshell::Parser)]\nstruct MyArgs {\n    retries: Option\u003cu32\u003e,\n}\n\nfn main() -\u003e {\n    let cmdline = \u0026[\"--retries\", \"3\"];\n\n    let args = MyArgs::parser(cmdline).unwrap();\n\n    if let Some(retries) = args.retries {\n        println!(\"You have {} retries left!\", retries);\n    }\n}\n```\n\n# Status\n\nThis crate is still a work in progress and is subject to huge changes in its API.\n\n# Roadmap\n\n- [ ] Add support for positional arguments.\n- [ ] Add support for `noline` crate, waiting for a custom handling of terminal escape codes.\n- [x] Add more parsers for destination value like `Option\u003cVec\u003c_\u003e\u003e` or `Vec\u003c_\u003e` for instance.\n- [ ] Add automatic generation of help output.\n- [ ] Add completion thanks to escape codes (i.e. a press on Tab for instance).\n- [ ] Add support for subcommands and related global and local arguments\n\nPlease feel free to email me with suggestions or directly propose a Pull Request with some valuable\ncontribution. As it is the beginning of the project, I will take time to studi every contribution.\n\n# License\n\nThis work is licensed under either\n\n- APACHE License, version 2.0\n- MIT License\n\nat your option.\n\n# Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in\nthe work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n\n# Credits\n\nI would like to give a big thank to the creator and contributors of the crate\n[`clap`](https://github.com/clap-rs/clap), which I draw a lot of inspiration from.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finthehack%2Fnoshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finthehack%2Fnoshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finthehack%2Fnoshell/lists"}