{"id":21499232,"url":"https://github.com/himcc/catexcel","last_synced_at":"2026-05-18T22:05:45.818Z","repository":{"id":69182000,"uuid":"599978602","full_name":"himcc/catexcel","owner":"himcc","description":"print excel file to console.","archived":false,"fork":false,"pushed_at":"2023-02-11T17:25:33.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T22:34:17.295Z","etag":null,"topics":["command-line-tool","excel","go","golang","linux"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-10T10:00:32.000Z","updated_at":"2023-02-12T14:15:56.000Z","dependencies_parsed_at":"2023-05-01T16:03:27.474Z","dependency_job_id":null,"html_url":"https://github.com/himcc/catexcel","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcatexcel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcatexcel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcatexcel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himcc%2Fcatexcel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himcc","download_url":"https://codeload.github.com/himcc/catexcel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244038324,"owners_count":20387826,"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":["command-line-tool","excel","go","golang","linux"],"created_at":"2024-11-23T17:15:01.449Z","updated_at":"2026-05-18T22:05:45.771Z","avatar_url":"https://github.com/himcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# catexcel\n\n\u003e print excel file to console.\n\n## Usage\n```sh\n# catexcel -h\ncat excel file\ncatexcel a.xlsx b.xlsx               # show top 10 lines for every sheet\ncatexcel -s 0 -s 1 a.xlsx            # show complete content in first sheet and second sheet\ncatexcel -f csv -s students a.xlsx   # show complete content in students sheet with csv format(default tsv)\n\nOptions:\n\n  -h, --help           display help information\n  -a, --all[=false]    output all sheets\n  -f, --format[=tsv]   tsv or csv\n  -s, --sheet          sheet name or index (from 0) for output\n```\n\n## Example\n```sh\n# catexcel students.xlsx teacher.xlsx\n\u003e\u003e students.xlsx\n\u003e\u003e 0 : Sheet1\nNo      Name\n1       odin\n2       amy\n3       cora\n4       suzanne\n5       jini\n6       katherine\n7       candice\n8       selena\n9       abigail\n\n\u003e\u003e students.xlsx\n\u003e\u003e 1 : Sheet2\na       b       c       d\ne       f       g       i\nj       k       l       m\n\n\u003e\u003e students.xlsx\n\u003e\u003e 2 : Sheet3\n\n\u003e\u003e teacher.xlsx\n\u003e\u003e 0 : Sheet1\nNo      Name\n1       zhangsan\n2       lisi\n3       wangwu\n4       zhaoliu\n5       sunqi\n\n\u003e\u003e teacher.xlsx\n\u003e\u003e 1 : Sheet2\n\n\u003e\u003e teacher.xlsx\n\u003e\u003e 2 : Sheet3\n```\n\n```sh\n# catexcel -s 0 -s Sheet2 -f csv students.xlsx\nNo,Name\n1,odin\n2,amy\n3,cora\n4,suzanne\n5,jini\n6,katherine\n7,candice\n8,selena\n9,abigail\n10,elsa\n11,vicky\n12,hanna\n13,zora\n14,grace\n15,madge\n16,felicia\n17,gina\n18,paula\n19,mervin\n20,verna\na,b,c,d\ne,f,g,i\nj,k,l,m\n```\n\n```sh\n# catexcel -a students.xlsx\nNo      Name\n1       odin\n2       amy\n3       cora\n4       suzanne\n5       jini\n6       katherine\n7       candice\n8       selena\n9       abigail\n10      elsa\n11      vicky\n12      hanna\n13      zora\n14      grace\n15      madge\n16      felicia\n17      gina\n18      paula\n19      mervin\n20      verna\na       b       c       d\ne       f       g       i\nj       k       l       m\n```\n\n## Cross compile (in Windows PowerShell)\n```sh\n$Env:GOOS = \"darwin\"; $Env:GOARCH = \"amd64\"; go build -o catexcel-darwin-amd64\n$Env:GOOS = \"linux\"; $Env:GOARCH = \"amd64\"; go build -o catexcel-linux-amd64\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimcc%2Fcatexcel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimcc%2Fcatexcel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimcc%2Fcatexcel/lists"}