-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSLIDES
More file actions
46 lines (35 loc) · 1.25 KB
/
SLIDES
File metadata and controls
46 lines (35 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Ask - community-based command line kofu master at hand
% Steven & Kuno
% Oct 27, 2012
# Frustrating Command Line Kofu Searching Experience
- Step 1: need some commands
- Step 2: google / duckduckgo / wiki to find the some probably broken command
- Step 3: copy and paste the command line
- Step 4: tweak the command until it work, otherwise go back to step 2
- Forget it.
# What We Want To Archieve
- Query for knowledge right from your terminal
- Accumulate your knowledge along the time
- Leverage the knowledge in the community, such as commandlinefu.com
# what we've accomplished
https://github.com/yangchenyun/ask/commits/master
# the Cli interface - query
remote request goes to commandlinefu.com
bin/ask query wget (--remote)
bin/ask query ssh sort uniq
bin/ask query wget (--local)
# informative error messaging
bin/ask help
bin/ask exec <number>
bin/ask exec abd123
bin/ask exec
bin/ask add 'ls -al | grep awesome'
# colored output with ANSI color support
bin/ask query 'awk netcat'
# Coming Next
- implement all interfaces including `ask add`, `ask exec <id>`, `ask query 'grep' --local`
- use your `$EDITOR` to add commands
- a web interface to browser, search commands
# What I need
- A Web Server
- what do you want?