def
Cli.Array.diffBy
{α : Type u_1}
{β : Type u_2}
[Ord α]
(key : β → α)
(left : Array β)
(right : Array α)
:
Array β
Deletes all elements from left
whose key
is in right
.
Equations
- Cli.Array.diffBy key left right = Array.filter (fun (v : β) => decide ¬(Lean.RBTree.ofList right.toList).contains (key v) = true) left
Instances For
Prepends an author name to the description of the command.
Equations
- One or more equations did not get rendered due to their size.
Appends a longer description to the end of the help.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adds a help
subcommand.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adds a version
subcommand.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sets default values for flags that were not set by the user according to
defaults := #[(long flag name, default value), ...]
and denotes the default value
in the flag description of the help.
Panics if one of the designated long flag names cannot be found in the command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Errors if one of requiredFlags := #[long flag name, ...]
were not passed by the user.
Denotes that the flag is required in the flag description of the help.
Panics if one of the designated long flag names cannot be found in the command.
Equations
- One or more equations did not get rendered due to their size.