List the scripts in package.json and choose one to execute.
Read this in other languages: English | 简体中文
npm install -D @oasis-cloud/which-one
└─> wo
? which one › - Use arrow-keys. Return to submit.
❯ test
color
or
└─> wo c
? which one › - Use arrow-keys. Return to submit.
❯ color
demo:c
└─> wo color
Regular matching is filtered using global matching that ignores case.
│which-one on main
└─> wo c
? which one › - Use arrow-keys. Return to submit.
❯ color
│which-one on main
└─> wo 'd.*:c'
? which one › - Use arrow-keys. Return to submit.
❯ demo:c
Supports the -r option, which executes the previous script.
│which-one on main
└─> wo 'd.*:c'
? which one › - Use arrow-keys. Return to submit.
❯ demo:c
# will execute demo:c
│which-one on main
└─> wo -r