@@ -92,7 +92,7 @@ This group of commands allows the management of polices to be verified against b
9292 return nil
9393 },
9494 Args : cobra .ExactArgs (1 ),
95- Example : `policy push ./policies --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f` ,
95+ Example : `circleci policy push ./policies --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f` ,
9696 }
9797
9898 cmd .Flags ().StringVar (& context , "context" , "config" , "policy context" )
@@ -127,7 +127,7 @@ This group of commands allows the management of polices to be verified against b
127127 return prettyJSONEncoder (cmd .OutOrStdout ()).Encode (diff )
128128 },
129129 Args : cobra .ExactArgs (1 ),
130- Example : `policy diff ./policies --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f` ,
130+ Example : `circleci policy diff ./policies --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f` ,
131131 }
132132 cmd .Flags ().StringVar (& context , "context" , "config" , "policy context" )
133133 cmd .Flags ().StringVar (& ownerID , "owner-id" , "" , "the id of the policy's owner" )
@@ -159,7 +159,7 @@ This group of commands allows the management of polices to be verified against b
159159 return nil
160160 },
161161 Args : cobra .MaximumNArgs (1 ),
162- Example : `policy fetch --owner-id 516425b2-e369-421b-838d-920e1f51b0f5` ,
162+ Example : `circleci policy fetch --owner-id 516425b2-e369-421b-838d-920e1f51b0f5` ,
163163 }
164164
165165 cmd .Flags ().StringVar (& context , "context" , "config" , "policy context" )
@@ -238,7 +238,7 @@ This group of commands allows the management of polices to be verified against b
238238 return nil
239239 },
240240 Args : cobra .MaximumNArgs (1 ),
241- Example : `policy logs --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f --after 2022/03/14 --out output.json` ,
241+ Example : `circleci policy logs --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f --after 2022/03/14 --out output.json` ,
242242 }
243243
244244 cmd .Flags ().StringVar (& request .Status , "status" , "" , "filter decision logs based on their status" )
@@ -313,7 +313,7 @@ This group of commands allows the management of polices to be verified against b
313313 return nil
314314 },
315315 Args : cobra .MaximumNArgs (1 ),
316- Example : `policy decide ./policies --input ./.circleci/config.yml` ,
316+ Example : `circleci policy decide ./policies --input ./.circleci/config.yml` ,
317317 }
318318
319319 cmd .Flags ().StringVar (& ownerID , "owner-id" , "" , "the id of the policy's owner" )
@@ -359,7 +359,7 @@ This group of commands allows the management of polices to be verified against b
359359 return nil
360360 },
361361 Args : cobra .ExactArgs (1 ),
362- Example : `policy eval ./policies --input ./.circleci/config.yml` ,
362+ Example : `circleci policy eval ./policies --input ./.circleci/config.yml` ,
363363 }
364364
365365 cmd .Flags ().StringVar (& inputPath , "input" , "" , "path to input file" )
@@ -406,7 +406,7 @@ This group of commands allows the management of polices to be verified against b
406406 return nil
407407 },
408408 Args : cobra .ExactArgs (0 ),
409- Example : `policy settings --enabled=true` ,
409+ Example : `circleci policy settings --owner-id 462d67f8-b232-4da4-a7de-0c86dd667d3f --enabled=true` ,
410410 }
411411
412412 cmd .Flags ().StringVar (& ownerID , "owner-id" , "" , "the id of the policy's owner" )
0 commit comments