{"id":15031034,"url":"https://github.com/matagus/shelve","last_synced_at":"2026-02-09T17:01:28.597Z","repository":{"id":255789730,"uuid":"853617817","full_name":"matagus/shelve","owner":"matagus","description":"🦀 A command-line tool written in Rust to pretty print files grouped by a column or field. It only support CSV files so far.","archived":false,"fork":false,"pushed_at":"2026-01-19T00:36:17.000Z","size":56,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T10:29:41.916Z","etag":null,"topics":["command-line","command-line-tool","console-tool","csv","groupby","pretty-print","rust","rust-lang","rust-language","terminal-based","tooling"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/shelve","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/matagus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","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":"2024-09-07T03:43:54.000Z","updated_at":"2026-01-19T00:36:19.000Z","dependencies_parsed_at":"2024-09-07T05:21:46.035Z","dependency_job_id":"10ddda32-c7b9-4be9-baeb-d2fbf257066e","html_url":"https://github.com/matagus/shelve","commit_stats":null,"previous_names":["matagus/shelve"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/matagus/shelve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matagus%2Fshelve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matagus%2Fshelve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matagus%2Fshelve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matagus%2Fshelve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matagus","download_url":"https://codeload.github.com/matagus/shelve/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matagus%2Fshelve/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29273139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"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":["command-line","command-line-tool","console-tool","csv","groupby","pretty-print","rust","rust-lang","rust-language","terminal-based","tooling"],"created_at":"2024-09-24T20:14:45.599Z","updated_at":"2026-02-09T17:01:25.751Z","avatar_url":"https://github.com/matagus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shelve\n\nA command-line tool written in Rust for pretty-printing CSV files grouped by a specified column or field.\n\n[![Crates.io](https://img.shields.io/crates/v/shelve.svg)](https://crates.io/crates/shelve)\n[![Documentation](https://docs.rs/shelve/badge.svg)](https://docs.rs/shelve)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n## Installation\n\n```bash\ncargo install shelve\n```\n\n## Usage\n\n```bash\nshelve --help\n\nUsage: shelve [OPTIONS] [FILENAME]...\n\nArguments:\n  FILENAME  CSV file to read [default: stdin]\n\nOptions:\n  -c, --column-number \u003cCOLUMN_NUMBER\u003e  Column number to group by [default: 1]  (first colum)\n  -h, --help                           Print help\n  -V, --version                        Print version\n```\n\n## Examples\n\n\nGiven the following CSV file containing data about tasks and their status:\n\n```csv\nTask ID,Task Title,Status,Assignee,Priority\n1,Implement feature A,In Progress,John Doe,High\n2,Fix bug B,Done,Jane Doe,Low\n3,Write tests for feature A,In Progress,John Doe,Medium\n4,Refactor code,To Do,Jane Doe,High\n5,Deploy to production A and B,To Do,John Doe,Low\n6,Write missing documentation for feature A,Done,Peter Foo,Medium\n7,Fix bug C,To Do,Alice Bar,High\n8,Write tests for feature A,In Progress,John Doe,Low\n```\n\nGrouping by the `Status` column (column number 2):\n\n```bash\nshelve -c 3 example.csv\n\nDone:\n\n2, Fix bug B, Jane Doe, Low\n6, Write missing documentation for feature A, Peter Foo, Medium\n\nIn Progress:\n\n1, Implement feature A, John Doe, High\n3, Write tests for feature A, John Doe, Medium\n8, Write tests for feature A, John Doe, Low\n\nTo Do:\n\n4, Refactor code, Jane Doe, High\n5, Deploy to production A and B, John Doe, Low\n7, Fix bug C, Alice Bar, High\n```\n\nGrouping by the `Priority` column (column number 4):\n\n```bash\nshelve -c 5 example.csv\n\nHigh:\n\n1, Implement feature A, In Progress, John Doe\n4, Refactor code, To Do, Jane Doe\n7, Fix bug C, To Do, Alice Bar\n\nLow:\n\n2, Fix bug B, Done, Jane Doe\n5, Deploy to production A and B, To Do, John Doe\n8, Write tests for feature A, In Progress, John Doe\n\nMedium:\n\n3, Write tests for feature A, In Progress, John Doe\n6, Write missing documentation for feature A, Done, Peter Foo\n```\n\nGrouping by the `Assignee` column (column number 3):\n\n```bash\nshelve -c 4 example.csv\n\nAlice Bar:\n\n7, Fix bug C, To Do, High\n\nJane Doe:\n\n2, Fix bug B, Done, Low\n4, Refactor code, To Do, High\n\nJohn Doe:\n\n1, Implement feature A, In Progress, High\n3, Write tests for feature A, In Progress, Medium\n5, Deploy to production A and B, To Do, Low\n8, Write tests for feature A, In Progress, Low\n\nPeter Foo:\n\n6, Write missing documentation for feature A, Done, Medium\n```\n\nThe command can also read input from `stdin`:\n\n```bash\n\u003e\u003e cat sample-files/tasks.csv | shelve -c 5\n\nHigh:\n\n1, Implement feature A, In Progress, John Doe\n4, Refactor code, To Do, Jane Doe\n7, Fix bug C, To Do, Alice Bar\n\nLow:\n\n2, Fix bug B, Done, Jane Doe\n5, Deploy to production A and B, To Do, John Doe\n8, Write tests for feature A, In Progress, John Doe\n\nMedium:\n\n3, Write tests for feature A, In Progress, John Doe\n6, Write missing documentation for feature A, Done, Peter Foo\n```\n\nOr reading multiple files at once:\n\n```bash\nshelve -c 5 sample-files/tasks.csv sample-files/more-tasks.csv\n```\n\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatagus%2Fshelve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatagus%2Fshelve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatagus%2Fshelve/lists"}