3030type  Options  struct  {
3131	Provider  string 
3232	Project   string 
33- 	Prefix    string 
33+ 	Filter    string 
3434	Parser    string 
3535	Template  string 
3636	Output    string 
@@ -39,13 +39,13 @@ type Options struct {
3939func  main () {
4040	options  :=  & Options {}
4141
42- 	flag .StringVar (& options .Provider , "provider" , "gcp" , "" )
43- 	flag .StringVar (& options .Project , "project" , "" , "" )
44- 	flag .StringVar (& options .Prefix , "secret-prefix " , "" , "" )
45- 	flag .StringVar (& options .Parser , "secret- data-parser" , "plaintext" , "" )
46- 	flag .StringVar (& options .Template , "template" , "" , "" )
47- 	flag .StringVar (& options .Output , "output" , "" , "" )
48- 	v  :=  flag .Bool ("version" , false , "" )
42+ 	flag .StringVar (& options .Provider , "provider" , "gcp" , "name of the provider that manages the secrets " )
43+ 	flag .StringVar (& options .Project , "project" , "" , "gcp project that contains the secrets " )
44+ 	flag .StringVar (& options .Filter , "filter " , "" , "regex to filter secrets by name " )
45+ 	flag .StringVar (& options .Parser , "data-parser" , "plaintext" , "parse secret based on data type " )
46+ 	flag .StringVar (& options .Template , "template" , "" , "template to render secret data " )
47+ 	flag .StringVar (& options .Output , "output" , "" , "path to write output file to " )
48+ 	v  :=  flag .Bool ("version" , false , "show the current secrets-init version " )
4949
5050	flag .Parse ()
5151
0 commit comments