Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/choPublic
NotificationsYou must be signed in to change notification settings

mattn/cho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

choice!

cho

Why cho?

Why notchoice? Because Windows already havechoice command.

Why notchoic? Too long

Why notchoi? Still long

Then,cho? Sound good to me

Usage

Just likepeco

Installation

$ go get github.com/mattn/cho

Usecase

Linux

FOO=`ls | cho`

Windows

for /f "delims=;" %%i in ('ls ^| cho') do set FOO=%%i

Keys

KeyBehavior
CTRL-NNext
CTRL-PPrevious
EnterDecide
CTLR-ALeft side on prompt
CTLR-ERight side on prompt
CTRL-VSelect in multi mode
CTRL-UClear prompt
ESCCancel

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp