{"id":13649615,"url":"https://github.com/lahr/pass-csv","last_synced_at":"2025-04-22T14:32:09.656Z","repository":{"id":119456623,"uuid":"335063016","full_name":"lahr/pass-csv","owner":"lahr","description":"pass extension to generate a CSV summary from key-value pairs","archived":false,"fork":false,"pushed_at":"2021-02-09T19:08:08.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-10T00:33:10.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lahr.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,"roadmap":null,"authors":null}},"created_at":"2021-02-01T19:38:02.000Z","updated_at":"2021-12-01T15:21:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb1a2efe-8ceb-4d8f-b8b1-57364d3c8d39","html_url":"https://github.com/lahr/pass-csv","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahr%2Fpass-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahr%2Fpass-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahr%2Fpass-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahr%2Fpass-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lahr","download_url":"https://codeload.github.com/lahr/pass-csv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250259123,"owners_count":21401044,"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":[],"created_at":"2024-08-02T02:00:21.275Z","updated_at":"2025-04-22T14:32:04.648Z","avatar_url":"https://github.com/lahr.png","language":"Shell","funding_links":[],"categories":["Extensions"],"sub_categories":["Output"],"readme":"# pass csv\n\nAn extension for the [standard unix password manager](https://www.passwordstore.org) that generates a CSV file from specified key-value pairs in the metadata. A use case for `pass csv` could be to generate a summary to which service you gave your address and phone number across the password store.\n\nA password file can store arbitrary information in the lines after the password:\n\n```\nYw|ZSNH!}z\"6{ym9pI\nURL: *.amazon.com/*\nUsername: user@example.com\nhas-address: true\nhas-tel: false\nAccount Created: 2021-02-01\n```\n\n`pass csv key1 key2 ...` iterates over the password store, searches for the specified keys and prints their value. The key-value pairs in the password files must be colon-delimited. The password itself is never read. The first column is always the name of the password file. If a specified key is not found in a password file, the corresponding value in the CSV is `-`.\n\n## Example\n\n`pass csv has-addr has-tel \"Account Created\" \u003e summary.csv` generates the following CSV file:\n\n```\n\"name\",\"has-addr\",\"has-tel\",\"Account Created\"\n\"amazon.com\",\"true\",\"false\",\"2021-02-01\"\n\"google.com\",\"false\",\"true\",\"-\"\n```\n\n| name       | has-addr | has-tel | Account Created |\n| :--------- | :------: | :-----: | :-------------: |\n| amazon.com | true     | false   |   2021-02-01    |\n| google.com | false    | true    |        -        |\n\n## Installation\n\n- `make install`\n- On MacOS via Homebrew with [this tap](https://github.com/SimplyDanny/homebrew-pass-extensions/)\n- Alternatively, you can copy `src/csv.bash` to `~/.password-store/.extensions`, make it executable and set the `PASSWORD_STORE_ENABLE_EXTENSIONS` environment variable to `true`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahr%2Fpass-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flahr%2Fpass-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahr%2Fpass-csv/lists"}