{"id":42201517,"url":"https://github.com/hypernetix/rclib","last_synced_at":"2026-01-27T00:26:15.914Z","repository":{"id":313562854,"uuid":"1051805393","full_name":"hypernetix/rclib","owner":"hypernetix","description":"Rust CLI builder or Rust CLI library","archived":false,"fork":false,"pushed_at":"2025-12-19T02:02:38.000Z","size":95,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T23:52:58.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hypernetix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T18:54:29.000Z","updated_at":"2025-12-19T02:02:42.000Z","dependencies_parsed_at":"2025-09-06T23:31:15.470Z","dependency_job_id":"828fbcc7-0d3a-408b-810b-8649518c1a79","html_url":"https://github.com/hypernetix/rclib","commit_stats":null,"previous_names":["hypernetix/rclib"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hypernetix/rclib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernetix%2Frclib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernetix%2Frclib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernetix%2Frclib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernetix%2Frclib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypernetix","download_url":"https://codeload.github.com/hypernetix/rclib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypernetix%2Frclib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28792982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"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":[],"created_at":"2026-01-27T00:26:15.828Z","updated_at":"2026-01-27T00:26:15.892Z","avatar_url":"https://github.com/hypernetix.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rclib - Rust CLI Builder Library\n\nA powerful Rust library for building command-line interfaces for REST APIs using declarative YAML configuration combined with custom imperative handlers.\n\n## What is rclib?\n\n`rclib` (Rust CLI Library) transforms YAML mapping files and OpenAPI specifications into fully functional CLI applications. It bridges the gap between declarative API definitions and interactive command-line tools, allowing developers to quickly create sophisticated CLIs without writing boilerplate argument parsing and HTTP request code.\n\n## Project Structure\n\nThis repository contains:\n\n- **`rclib/`** - The core library crate that provides CLI building functionality\n- **`dummyjson-cli/`** - Example CLI application for DummyJSON API (demonstrates different feature combinations)\n\n## Key Concepts\n\n### Architecture Overview\n\n```\nOpenAPI Spec ──┐\n               ├── rclib ──\u003e CLI Binary ──\u003e REST API Server\nmapping.yaml ──┘\n```\n\n- **OpenAPI Spec**: Provides API schema, base URLs, and endpoint definitions\n- **mapping.yaml**: Defines CLI command structure, arguments, and API mappings\n- **rclib**: Core library handling HTTP requests, argument processing, and command orchestration\n- **CLI Binary**: Your application built with rclib\n\n### Core Features\n\n- **Declarative Command Structure**: Define commands in YAML, not Rust code\n- **Three Command Types**: Single API calls, multi-step scenarios, and custom handlers\n- **Advanced Argument Handling**: Inheritance, overrides, boolean flags, file content replacement\n- **Rich Output Formatting**: Table views with column selection and data transformation\n- **Performance Testing**: Built-in load testing with concurrency and statistics\n- **Template Substitution**: Variable replacement in URLs, headers, and request bodies\n\n## Quick Start\n\nSee the example applications:\n- [`dummyjson-cli/README.md`](dummyjson-cli/README.md) - E-commerce mock API CLI with products, users, and analytics\n\nFor detailed library documentation, see [`rclib/README.md`](rclib/README.md).\n\n## Use Cases\n\n- **API Testing Tools**: Quickly build CLIs for testing REST APIs\n- **DevOps Automation**: Create command-line interfaces for internal services\n- **Microservice Management**: Build unified CLIs for distributed systems\n- **Mock API Clients**: Rapid prototyping of API client interfaces\n- **Performance Testing**: Load testing with built-in concurrency and reporting\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypernetix%2Frclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypernetix%2Frclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypernetix%2Frclib/lists"}