{"id":16329609,"url":"https://github.com/namoscato/snap-cli","last_synced_at":"2025-07-24T03:02:12.074Z","repository":{"id":32895438,"uuid":"145362424","full_name":"namoscato/snap-cli","owner":"namoscato","description":"Command-line utilities for Snap!","archived":false,"fork":false,"pushed_at":"2023-02-28T02:15:28.000Z","size":55,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-30T02:36:30.371Z","etag":null,"topics":["cli","command-line","provisioning","snap","utility"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/namoscato.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-20T03:38:33.000Z","updated_at":"2022-01-16T13:22:20.000Z","dependencies_parsed_at":"2024-10-10T23:16:25.006Z","dependency_job_id":"8a76fc51-0c37-4768-80f9-b5b1205dd5f0","html_url":"https://github.com/namoscato/snap-cli","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.46153846153846156","last_synced_commit":"5221bd97e0245fd93051ce583c70f62f60ee4537"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namoscato%2Fsnap-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namoscato%2Fsnap-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namoscato%2Fsnap-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namoscato%2Fsnap-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namoscato","download_url":"https://codeload.github.com/namoscato/snap-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212383,"owners_count":19434954,"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":["cli","command-line","provisioning","snap","utility"],"created_at":"2024-10-10T23:16:18.464Z","updated_at":"2025-02-11T00:31:10.544Z","avatar_url":"https://github.com/namoscato.png","language":"JavaScript","readme":"[![npm version](https://badge.fury.io/js/snap-cli.svg)](https://www.npmjs.com/package/snap-cli)\n\n# snap-cli\n\nCommand-line utilities for [Snap\u003cem\u003e!\u003c/em\u003e](https://snap.berkeley.edu/)\n\n## Installation\n\n```\nnpm i -g snap-cli\n```\n\n## Usage\n\n```\nsnap \u003ccommand\u003e\n```\n\n## Commands\n\n### `user:provision [options] \u003ccsv\u003e`\n\nProvision users for the accounts in the specified CSV.\n\n#### Options\n\n| option | required | description |\n| --- | --- | --- |\n| `-u --username \u003ccolumn\u003e` | yes | username column index |\n| `-e, --email \u003ccolumn\u003e` | yes | email column index |\n| `-o, --output \u003ccsv\u003e` | yes | output file |\n| `-p, --password \u003ccolumn\u003e` | no | password column index |\n| `--no-header` | no | denotes a header row does not exist |\n\n#### Example\n\nGiven `input.csv`:\n\n| username | email |\n| --- | --- |\n| jsmith | jsmith@example.com |\n| jdoe | jdoe@example.com |\n\n```\n$ snap user:provision input.csv -u 0 -e 1 -o output.csv\n[1:jsmith] Creating user\n[2:jdoe] Creating user\nWriting output CSV\n```\n\n`output.csv`:\n\n| username | email | |\n| --- | --- | --- |\n| jsmith | jsmith@example.com | abc123 |\n| jdoe | jdoe@example.com | def456 |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamoscato%2Fsnap-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamoscato%2Fsnap-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamoscato%2Fsnap-cli/lists"}