flycal-cli 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/flycal/cli/app.rb +1 -1
- data/lib/flycal.rb +1 -1
- data/locales/en.json +2 -2
- data/locales/it.json +2 -2
- data/mcp/tools.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6064a63fa2be20ee1ae485a098fe48a4b0d8a754b7be3ab592870a4f1c3ff647
|
|
4
|
+
data.tar.gz: 9161662c7b7ab8a794095260df2a2b2f7b7fc0b7f53ba35e2d72d7c9005e46c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 759574c5c165b1e0b0fec5a95de8c62fc2f61975cad1d3aa4550c8d4fb58a9fd74d5c22826e45cc043a7b4d081a187f25985016d04e993568fbf0025806c829a
|
|
7
|
+
data.tar.gz: fbc3abe2cefa03f601be32798d13b6bf451baff99e23564659fffc8325972a1835340b7a0d781eb33c328e1f530b0eaf9f81766cd95fe3aaf39cdcdaf89bb12f
|
data/lib/flycal/cli/app.rb
CHANGED
|
@@ -24,7 +24,7 @@ module Cli
|
|
|
24
24
|
|
|
25
25
|
desc "login", "Connect to your Google account"
|
|
26
26
|
option :client, type: :string,
|
|
27
|
-
desc: "OAuth client: flycal (Flycal Desktop app) or json (~/.flycal/credentials.json)"
|
|
27
|
+
desc: "OAuth client: flycal (Flycal Desktop app) or json (~/.flycal/credentials.json, advanced)"
|
|
28
28
|
def login
|
|
29
29
|
apply_locale_override
|
|
30
30
|
if Auth.logged_in?
|
data/lib/flycal.rb
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# Under Rails, Zeitwerk autoloads lib/flycal/*.
|
|
5
5
|
# The CLI gem entrypoint (flycal_cli/lib/flycal_cli.rb) eager-requires what it needs.
|
|
6
6
|
module Flycal
|
|
7
|
-
VERSION = "1.2.
|
|
7
|
+
VERSION = "1.2.2"
|
|
8
8
|
|
|
9
9
|
def self.connect(credentials:)
|
|
10
10
|
Client.new(credentials: credentials)
|
data/locales/en.json
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"login": {
|
|
32
32
|
"prompt": "How do you want to sign in?",
|
|
33
33
|
"options": {
|
|
34
|
-
"flycal": "Google account (
|
|
35
|
-
"json": "Your own Google Cloud client JSON (
|
|
34
|
+
"flycal": "Google account, via Flycal (default)",
|
|
35
|
+
"json": "Your own Google Cloud client JSON (advanced)"
|
|
36
36
|
},
|
|
37
37
|
"already_connected": "✓ You are already connected to your Google account.",
|
|
38
38
|
"next_config": "Run 'flycal config' to set the default calendar.",
|
data/locales/it.json
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"login": {
|
|
32
32
|
"prompt": "Come vuoi accedere?",
|
|
33
33
|
"options": {
|
|
34
|
-
"flycal": "Account Google (
|
|
35
|
-
"json": "Il tuo client JSON di Google Cloud (
|
|
34
|
+
"flycal": "Account Google, tramite Flycal (predefinito)",
|
|
35
|
+
"json": "Il tuo client JSON di Google Cloud (avanzato)"
|
|
36
36
|
},
|
|
37
37
|
"already_connected": "✓ Sei già connesso al tuo account Google.",
|
|
38
38
|
"next_config": "Esegui 'flycal config' per impostare il calendario predefinito.",
|
data/mcp/tools.json
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"path": "~/.flycal/config.yml",
|
|
83
83
|
"credentials_path": "~/.flycal/credentials.json",
|
|
84
84
|
"tokens_path": "~/.flycal/tokens.yml",
|
|
85
|
-
"credentials_note": "flycal login offers two clients: (1) Flycal Desktop OAuth, no Google Cloud project needed; (2)
|
|
85
|
+
"credentials_note": "flycal login offers two clients: (1) Flycal Desktop OAuth, no Google Cloud project needed; (2) advanced: your own ~/.flycal/credentials.json. Browser login is required for both. Non-interactive default is flycal (`flycal login --client flycal`). For your own JSON: `flycal login --client json`.",
|
|
86
86
|
"keys": {
|
|
87
87
|
"calendar_default": {
|
|
88
88
|
"type": ["string", "null"],
|