[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

chore: update example & readme (#138)

authored by

Christian Preston and committed by
GitHub
(Aug 9, 2023, 8:22 PM EDT) ef7d4142 e08e7b5b

+8 -2
+2
.changeset/stale-pans-approve.md
··· 1 + --- 2 + ---
+5 -1
examples/basic/index.ts
··· 32 32 p.select({ 33 33 message: `Pick a project type within "${results.path}"`, 34 34 initialValue: 'ts', 35 + maxItems: 5, 35 36 options: [ 36 37 { value: 'ts', label: 'TypeScript' }, 37 38 { value: 'js', label: 'JavaScript' }, 39 + { value: 'rust', label: 'Rust' }, 40 + { value: 'go', label: 'Go' }, 41 + { value: 'python', label: 'Python' }, 38 42 { value: 'coffee', label: 'CoffeeScript', hint: 'oh no' }, 39 43 ], 40 44 }), ··· 66 70 if (project.install) { 67 71 const s = p.spinner(); 68 72 s.start('Installing via pnpm'); 69 - await setTimeout(5000); 73 + await setTimeout(2500); 70 74 s.stop('Installed via pnpm'); 71 75 } 72 76
+1 -1
packages/prompts/README.md
··· 117 117 118 118 const s = spinner(); 119 119 s.start('Installing via npm'); 120 - // Do installation 120 + // Do installation here 121 121 s.stop('Installed via npm'); 122 122 ``` 123 123