vcspull import codecommit¶
Import repositories from AWS CodeCommit.
Command¶
Import repositories from AWS CodeCommit.
Usage¶
usage: vcspull import codecommit [-h] [-w DIR] [-l LANG] [--topics TOPICS] [--min-stars N] [--archived] [--forks] [--limit N] [-f FILE] [--dry-run] [--yes] [--json] [--ndjson] [--https] [--color {auto,always,never}] [--region REGION] [--profile PROFILE] [TARGET]
Positional Arguments¶
- target TARGET¶
Optional substring filter for repository names
Options¶
Filtering¶
Output¶
- -f, --file FILE¶
Config file to write to (default: ~/.vcspull.yaml)
- --dry-run, -n¶
Preview without writing to config file
- --yes, -y¶
Skip confirmation prompt
- --json¶
Output as JSON
- --ndjson¶
Output as NDJSON (one JSON per line)
- --https¶
Use HTTPS clone URLs instead of SSH (default: SSH)
- --color¶
When to use colors (default: auto)
Usage¶
CodeCommit does not require a target argument. Use --region and --profile
to select the AWS environment:
$ vcspull import codecommit \
--workspace ~/code/ \
--region us-east-1 \
--profile work
Authentication¶
Auth: AWS CLI credentials (
aws configure) — no token env varCLI args:
--region,--profileIAM permissions required:
codecommit:ListRepositories(resource:*)codecommit:BatchGetRepositories(resource: repo ARNs or*)
Dependency: AWS CLI must be installed (
pip install awscli)
Configure your AWS credentials:
$ aws configure
Then import:
$ vcspull import codecommit \
--workspace ~/code/ \
--region us-east-1