0.4.2 • Published 10 months ago

speaking-order-cli v0.4.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
10 months ago

Order CLI

nycrc config on GitHub

A small command line utility to shuffle a list of names for a meeting round-table speaking order.

Provided a list of names, the list will be shuffled in a random order and copied to the clipboard.

Requirements

Node >= 16

Usage

> npx speaking-order-cli [options] [--] <participants...>

Or

> npm install -g speaking-order-cli
> order [options] [--] <participants...>

Options

OptionDescriptionType
--debugOutput debug informationboolean
-p, --prefixOutput prefixstring
-s, --separatorsOutput list separators (i.e., separator, lastSeparator)arraydefault: ",", "then"]
--oc, --oxford-commaUse the Oxford comma (e.g., "Alice, Bob, and Charlie"; applies the separator to the second-to-last item)boolean
--cc, --clipboardCopy the output to the clipboard (to disable: --no-cc, --no-clipboard)boolean
--clr, --colorsColorize the output (to disable: --no-clr, --no-colors)boolean
-h, --helpShow helpboolean
-v, --versionShow version numberboolean

Examples

> npx order Alice Bob Charlie
Speaking order: Bob, Charlie then Alice

> npx order -p "Here's the order: " Alice Bob Charlie
Here's the order: Charlie, Bob then Alice

> npx order -s ";" "and" --oc -- Alice Bob Charlie
Speaking order: Alice; Charlie; and Bob

Limitations

There's a self-imposed maximum of 16 participants.

Future

For this MVP, I was hoping to implement the ability to read from a local file. The self-imposed maximum of 16 participants was to limit the amount of data that would be output from a file.

0.4.2

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.0

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago