pick¶
Randomly pick from a list.
Synopsis¶
Description¶
Randomly select one or more items from a provided list. Great for making decisions or random selection.
Flags¶
| Flag | Short | Description | Default |
|---|---|---|---|
--count |
-n |
Number of items to pick | 1 |
Examples¶
Pick one item:
Pick multiple items:
Pick from quoted strings:
Pick a random team member for code review:
Pick lunch destination:
Use Cases¶
- Randomly assigning tasks
- Selecting code reviewers
- Choosing where to eat
- Drawing lottery winners
- Random sampling from a set