Skip to content

Commit 5ca94de

Browse files
committed
fix config path
1 parent 528f2fb commit 5ca94de

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var marshaledConfig config
1818

1919
func getDefaultConfigPath() string {
2020
homeDir, _ := homedir.Dir()
21-
return filepath.Join(homeDir, "Library/Application Support/Alfred 2/Workflow Data/", bundleID)
21+
return filepath.Join(homeDir, "Library/Application Support/Alfred 3/Workflow Data/", bundleID)
2222
}
2323

2424
func loadConfig() error {

workflow/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Alfred Qiita Workflow
2+
3+
## Commands
4+
5+
### Search articles
6+
7+
```
8+
qiita search <query>
9+
```
10+
11+
### Setup personal access token
12+
13+
Get [Personal Access Token](https://qiita.com/settings/tokens/new) which have a scope for _read_qiita_ and put it on:
14+
15+
```
16+
qiita setup <personal access token>
17+
```
18+
19+
### List and search stocked articles
20+
21+
You MUST set access token in advance.
22+
23+
```
24+
qiita stocks <query:optional>
25+
```
26+
27+
### List and search your articles
28+
29+
You MUST set access token in advance.
30+
31+
```
32+
qiita my <query:optional>
33+
```

workflow/bin/alfred-qiita-workflow

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)