socket repository
Repositories related commands
This command holds a few sub-commands for repository management in your Socket.dev account.
$ socket repository --help
Manage registered repositories
Usage
$ socket repository <command>
Commands
create Create a repository in an organization
del Delete a repository in an organization
list List repositories in an organization
update Update a repository in an organization
view View repositories in an organization
Options
--no-banner Hide the Socket banner
--no-spinner Hide the console spinner
To create a new repository (only on Socket.dev) use socket repository create. For example socket repository create honey --org beardev would create a repository named "honey" for the "beardev" organization. The repository slug is the first positional argument; the org defaults to your configured default org and can be overridden with --org.
To delete a repository (only on Socket.dev) use socket repository del. For example socket repository del honey --org beardev would remove the "honey" repository from the "beardev" organization.
To list the repositories in your organization, use socket repository list. It shows 30 repositories per page by default. Use --page and --per-page to page through them, or --all to fetch the whole list.
You can view details on a repository with socket repository view and you can update these details with socket repository update.
Each subcommand needs a specific permission on your API token. create needs repo:create, del needs repo:delete, update needs repo:update, and list and view need repo:list.
Updated 10 days ago