Skip to content
#

prompt

Here are 759 public repositories matching this topic...

spaceship-prompt
denysdovhan
denysdovhan commented Jul 12, 2021

The problem

Users installing Spaceship via homebrew don't know they have to add following lines to their .zshrc:

autoload -U promptinit; promptinit
prompt spaceship

Describe the solution you'd like

Homebrew has to report a caveat with this information. Here's an example how they do that with nvm formula: https://github.com/Homebrew/homebrew-core/blob/23f6654873c

help-wanted proposal good first issue
sinkcup
sinkcup commented Mar 14, 2022

now every questions are optional, there is no way to define it demand.

suggestion: add demandOption config, if user select nothing or just press enter, exit error or auto load question to retry.

options = {
  things: {
    message: 'What do you want to do?',
    type: 'checkbox',
    choices: ['Order a pizza', 'Make a reservation', 'Bug rate', 'Security'],
    demandOption: true,

Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert

  • Updated Jun 3, 2022
  • JavaScript
xonsh

Improve this page

Add a description, image, and links to the prompt topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the prompt topic, visit your repo's landing page and select "manage topics."

Learn more