回答編集履歴
2
fix
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```
|
10
10
|
|
11
|
-
curl https://app.spire.io/api//v2/streaks/?access_token=XXX | jq '[.[] | select(.type == "focus") | {type,start_at,stop_at}]'
|
11
|
+
curl -s https://app.spire.io/api//v2/streaks/?access_token=XXX | jq '[.[] | select(.type == "focus") | {type,start_at,stop_at}]'
|
12
12
|
|
13
13
|
```
|
14
14
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
```
|
22
22
|
|
23
|
-
curl https://app.spire.io/api//v2/streaks/?access_token=XXX | jq '[.[] | select(.type == "focus") | {type,start_at,stop_at}]' > foo.json
|
23
|
+
curl -s https://app.spire.io/api//v2/streaks/?access_token=XXX | jq '[.[] | select(.type == "focus") | {type,start_at,stop_at}]' > foo.json
|
24
24
|
|
25
25
|
```
|
26
26
|
|
1
fix
test
CHANGED
@@ -14,4 +14,14 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
で行けると思います。
|
17
|
+
で行けると思います。ファイルに保存したいのであれば続けて ` > foo.json` の様にリダイレクトファイルを付けて下さい。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
```
|
22
|
+
|
23
|
+
curl https://app.spire.io/api//v2/streaks/?access_token=XXX | jq '[.[] | select(.type == "focus") | {type,start_at,stop_at}]' > foo.json
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
|