add bins and alternatives
This commit is contained in:
parent
a935bb9893
commit
9f3594e0d3
21 changed files with 210 additions and 10 deletions
6
data/home/.local/bin/choose.ts
Executable file
6
data/home/.local/bin/choose.ts
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/env -S deno run
|
||||
|
||||
const args = Deno.args;
|
||||
const { floor, random } = Math;
|
||||
const index = floor(random() * args.length);
|
||||
console.log(args[index]);
|
Loading…
Add table
Add a link
Reference in a new issue