Skip to content

Commit 8a27b33

Browse files
amanjproamanjpro
andauthored
Do not repeat advertiser's keypath in the help message (#34)
Co-authored-by: amanjpro <amanjpro@gmail.com>
1 parent 398d6fe commit 8a27b33

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

pkg/cmd/cli/participate.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ type (
1111
ParticipateCmd struct {
1212
PairCleanroomToken string `arg:"" help:"The PAIR clean room token to use for the operation."`
1313
Input string `cmd:"" short:"i" help:"The input file containing the advertiser data to be hashed and encrypted. If given a directory, all files in the directory will be processed."`
14-
AdvertiserKeyPath string `cmd:"" short:"k" help:"The path to the advertiser private key to use for the operation. If not provided, the key saved in the configuration file will be used."`
1514
Output string `cmd:"" short:"o" help:"The output file to write the advertiser data to, default to stdout."`
1615
NumThreads int `cmd:"" short:"n" help:"The number of threads to use for the operation. Defaults to the number of the available cores on the machine."`
1716
}

pkg/cmd/cli/re-encrypt.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ type (
1313
PairCleanroomToken string `arg:"" help:"The PAIR clean room token to use for the operation."`
1414
Input string `cmd:"" short:"i" help:"The GCS bucket URL containing objects of publisher's encrypted PAIR IDs. If given a file path, it will read from the file instead. If not provided, it will read from stdin."`
1515
Output string `cmd:"" short:"o" help:"The GCS bucket URL to write the re-encrypted publisher PAIR IDs to. If given a file path, it will write to the file instead. If not provided, it will write to stdout."`
16-
AdvertiserKeyPath string `cmd:"" short:"k" help:"The path to the advertiser private key to use for the operation. If not provided, the key saved in the configuration file will be used."`
1716
NumThreads int `cmd:"" short:"n" help:"The number of threads to use for the operation. Defaults to the number of the available cores on the machine."`
1817
PublisherPAIRIDs string `cmd:"" short:"s" name:"publisher-pair-ids" help:"Save the publisher's PAIR IDs in the provided directory, to be used later. If not provided, the publisher's PAIR IDs will not be saved."`
1918
}

pkg/cmd/cli/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
type (
1111
RunCmd struct {
1212
PairCleanroomToken string `arg:"" help:"The PAIR clean room token to use for the operation. You can find this by logging into the Optable PAIR Connector UI to which you were invited."`
13-
AdvertiserKeyPath string `cmd:"" short:"k" name:"keypath" help:"The path to the advertiser clean room's private key to use. If not provided, the key saved in the configuration file will be used."`
1413
Input string `cmd:"" short:"i" help:"The path to the input file containing the newline separated list of canonicalized email addresses for encrypted PAIR matching. The expected canonical form of an email address is obtained by trimming leading and trailing spaces, downcasing, and applying the SHA256 hash function without a salt. If a directory path is provided, all files within the directory will be processed."`
1514
NumThreads int `cmd:"" short:"n" help:"The number of threads to use for the operation. Defaults to the number of the available cores on the machine."`
1615
Output string `cmd:"" short:"o" help:"The path to the output file to write the intersected publisher PAIR IDs to. If not provided, the intersection will not happen."`

0 commit comments

Comments
 (0)