journal-cli 1.0.29 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +1 -1
- data/README.md +18 -0
- data/lib/journal-cli/version.rb +1 -1
- data/src/_README.md +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68a0dd23d0f640b801ed95ed73796cff7e54445483b95354f3796e64506f2956
|
4
|
+
data.tar.gz: b04e60b7a84fad7d12e674360b2019ff4688ff3b3946c55cf94029d6e770c080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9fe623367f3d587ba54526faa9512e1ee22226b7075e270b84985321d8ecad7379da1b511516dd0fb6c1649fc73da1ae833297443607dbfa9e50d721608882
|
7
|
+
data.tar.gz: 1e3521cd6b7aa7834afad83f61bb4df0756c105a2739d35f000bb9cba1eeb9ace56567e765857a180c36be4ce6ee8420d6b61cc397f899c777fe18e62d271888
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,6 +35,22 @@ If you want to use Day One with Journal, you'll need to [install the Day One CLI
|
|
35
35
|
$ sudo bash /Applications/Day\ One.app/Contents/Resources/install_cli.sh
|
36
36
|
```
|
37
37
|
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
```
|
41
|
+
Usage: journal JOURNAL_KEY [NATURAL LANGUAGE DATE]
|
42
|
+
-v, --version Display version
|
43
|
+
-l, --list List available journals
|
44
|
+
--[no-]color Colorize output
|
45
|
+
-h, --help Display help
|
46
|
+
|
47
|
+
Available journal types:
|
48
|
+
- checkin
|
49
|
+
- mood
|
50
|
+
- daily
|
51
|
+
- test
|
52
|
+
```
|
53
|
+
|
38
54
|
## Configuration
|
39
55
|
|
40
56
|
A config must be created at `~/.config/journal/journals.yaml`:
|
@@ -52,6 +68,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
|
|
52
68
|
|
53
69
|
You can include weather data automatically by setting a question type to 'weather'. In order for this to work, you'll need to define `zip` and `weather_api` keys. `zip` is just your zip code, and `weather_api` is a key from WeatherAPI.com. Sign up [here](https://www.weatherapi.com/) for a free plan, and then visit the [profile page](https://www.weatherapi.com/my/) to see your API key at the top.
|
54
70
|
|
71
|
+
You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
|
72
|
+
|
55
73
|
If a question type is set to `weather.forecast`, only the predicted condition, high, and low will be included in the JSON data for the question. A full printout of hourly temps will be included in the Markdown/Day One output.
|
56
74
|
|
57
75
|
If the question type is `weather.current`, only the current condition and temperature will be recorded to the JSON, and a string containing "[TEMP] and [CONDITION]" (e.g. "64 and Sunny") will be recorded to Markdown/Day One for the question.
|
data/lib/journal-cli/version.rb
CHANGED
data/src/_README.md
CHANGED
@@ -38,6 +38,12 @@ If you want to use Day One with Journal, you'll need to [install the Day One CLI
|
|
38
38
|
$ sudo bash /Applications/Day\ One.app/Contents/Resources/install_cli.sh
|
39
39
|
```
|
40
40
|
|
41
|
+
## Usage
|
42
|
+
|
43
|
+
```
|
44
|
+
@cli(bundle exec bin/journal -h)
|
45
|
+
```
|
46
|
+
|
41
47
|
## Configuration
|
42
48
|
|
43
49
|
A config must be created at `~/.config/journal/journals.yaml`:
|
@@ -55,6 +61,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
|
|
55
61
|
|
56
62
|
You can include weather data automatically by setting a question type to 'weather'. In order for this to work, you'll need to define `zip` and `weather_api` keys. `zip` is just your zip code, and `weather_api` is a key from WeatherAPI.com. Sign up [here](https://www.weatherapi.com/) for a free plan, and then visit the [profile page](https://www.weatherapi.com/my/) to see your API key at the top.
|
57
63
|
|
64
|
+
You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
|
65
|
+
|
58
66
|
If a question type is set to `weather.forecast`, only the predicted condition, high, and low will be included in the JSON data for the question. A full printout of hourly temps will be included in the Markdown/Day One output.
|
59
67
|
|
60
68
|
If the question type is `weather.current`, only the current condition and temperature will be recorded to the JSON, and a string containing "[TEMP] and [CONDITION]" (e.g. "64 and Sunny") will be recorded to Markdown/Day One for the question.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: journal-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-which
|