File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ const HTTPS = "https"
2525type MigrateFromQdrantCmd struct {
2626 SourceUrl string `help:"Source GRPC URL, e.g. https://your-qdrant-hostname:6334" required:"true"`
2727 SourceCollection string `help:"Source collection" required:"true"`
28- SourceAPIKey string `help:"Source API key"`
28+ SourceAPIKey string `help:"Source API key" env:"SOURCE_API_KEY" `
2929 TargetUrl string `help:"Target GRPC URL, e.g. https://your-qdrant-hostname:6334" required:"true"`
3030 TargetCollection string `help:"Target collection" required:"true"`
31- TargetAPIKey string `help:"Target API key"`
31+ TargetAPIKey string `help:"Target API key" env:"TARGET_API_KEY" `
3232 BatchSize uint32 `short:"b" help:"Batch size" default:"50"`
3333 CreateTargetCollection bool `short:"c" help:"Create the target collection if it does not exist" default:"false"`
3434 MigrationMarker string `short:"m" help:"Migration marker to resume the migration" optional:"true"`
You can’t perform that action at this time.
0 commit comments