boggo 0.0.1 → 0.1.0

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.
@@ -0,0 +1,511 @@
1
+ // Kaikki Boggo CLI:n tekstit suomeksi ja englanniksi. Uusi teksti lisätään molemmille kielille (testi tarkistaa).
2
+ // Komentojen nimet ja valinnat ovat samat kummallakin kielellä; vain selitykset käännetään.
3
+
4
+ export const SITE_URL = "https://cloud.boggo.fi";
5
+
6
+ // Ensimmäisen käyttökerran kysymys on aina kaksikielinen, koska kieltä ei vielä tiedetä.
7
+ export const LANGUAGE_PROMPT = "Valitse kieli / Choose language: 1) Suomi 2) English";
8
+ export const LANGUAGE_PROMPT_RETRY = "Kirjoita 1 tai 2 / Type 1 or 2";
9
+
10
+ export const TEXT = {
11
+ fi: {
12
+ tagline: "Boggo Cloudin komentorivityökalu: julkaise ja hallitse projekteja omalta koneeltasi.",
13
+ shortNote: "Aloita: boggo login, sitten projektin kansiossa boggo init ja boggo push --prod.",
14
+ usageTitle: "Käyttö",
15
+ usageLine: "boggo <command> [options]",
16
+ allCommands: "Kaikki komennot",
17
+ commandHelp: "Yhden komennon ohje",
18
+ optionsTitle: "Valinnat",
19
+ examplesTitle: "Esimerkit",
20
+ globalOptionsTitle: "Yleiset valinnat",
21
+ exampleTitle: "Esimerkki",
22
+ coming: "(tulossa)",
23
+ groups: {
24
+ account: "Tili",
25
+ projects: "Projektit",
26
+ deploy: "Julkaisu",
27
+ env: "Ympäristömuuttujat",
28
+ other: "Muut",
29
+ },
30
+ globalOptions: [
31
+ ["-h, --help", "Näytä ohje"],
32
+ ["-v, --version", "Näytä versio"],
33
+ ["--lang fi|en", "Käytä kieltä tässä komennossa"],
34
+ ],
35
+ unknownCommand: (name) => `Tuntematon komento: ${name}. Katso boggo help.`,
36
+ unknownOption: (name) => `Tuntematon valinta: ${name}. Katso boggo help.`,
37
+ optionNeedsValue: (name) => `Valinta ${name} tarvitsee arvon.`,
38
+ unknownLanguage: (value) => `Tuntematon kieli: ${value}. Vaihtoehdot: fi, en.`,
39
+ langNeedsValue: "Valinta --lang tarvitsee arvon: fi tai en.",
40
+ unknownSetting: (name) => `Tuntematon asetus: ${name}. Katso boggo help config.`,
41
+ comingSoon: (command) => `boggo ${command} on vielä tulossa. Seuraa: ${SITE_URL}`,
42
+ languageNames: { fi: "suomi", en: "englanti" },
43
+ languageSaved: (name) => `Kieli tallennettu: ${name}. Vaihda: boggo config language`,
44
+ languageCurrent: (name, source) => `Kieli: ${name} (${source})`,
45
+ languageSources: {
46
+ flag: "valinta --lang",
47
+ env: "ympäristömuuttuja BOGGO_LANG",
48
+ config: "tallennettu",
49
+ system: "järjestelmän kieli",
50
+ },
51
+ languageNeedsValue: "Anna kieli: boggo config language fi tai boggo config language en.",
52
+ languageEnvOverrides: "Huom.: ympäristömuuttuja BOGGO_LANG ohittaa tallennetun kielen.",
53
+ configSaveFailed: (reason) => `Asetusta ei voitu tallentaa (${reason}).`,
54
+ },
55
+ en: {
56
+ tagline: "Boggo Cloud command-line tool: deploy and manage projects from your own machine.",
57
+ shortNote: "Start: boggo login, then in your project folder boggo init and boggo push --prod.",
58
+ usageTitle: "Usage",
59
+ usageLine: "boggo <command> [options]",
60
+ allCommands: "All commands",
61
+ commandHelp: "Help for one command",
62
+ optionsTitle: "Options",
63
+ examplesTitle: "Examples",
64
+ globalOptionsTitle: "Global options",
65
+ exampleTitle: "Example",
66
+ coming: "(coming soon)",
67
+ groups: {
68
+ account: "Account",
69
+ projects: "Projects",
70
+ deploy: "Deploy",
71
+ env: "Environment variables",
72
+ other: "Other",
73
+ },
74
+ globalOptions: [
75
+ ["-h, --help", "Show help"],
76
+ ["-v, --version", "Show version"],
77
+ ["--lang fi|en", "Use a language for this command"],
78
+ ],
79
+ unknownCommand: (name) => `Unknown command: ${name}. See boggo help.`,
80
+ unknownOption: (name) => `Unknown option: ${name}. See boggo help.`,
81
+ optionNeedsValue: (name) => `Option ${name} needs a value.`,
82
+ unknownLanguage: (value) => `Unknown language: ${value}. Choices: fi, en.`,
83
+ langNeedsValue: "Option --lang needs a value: fi or en.",
84
+ unknownSetting: (name) => `Unknown setting: ${name}. See boggo help config.`,
85
+ comingSoon: (command) => `boggo ${command} is coming soon. Follow: ${SITE_URL}`,
86
+ languageNames: { fi: "Finnish", en: "English" },
87
+ languageSaved: (name) => `Language saved: ${name}. To change: boggo config language`,
88
+ languageCurrent: (name, source) => `Language: ${name} (${source})`,
89
+ languageSources: {
90
+ flag: "option --lang",
91
+ env: "environment variable BOGGO_LANG",
92
+ config: "saved",
93
+ system: "system language",
94
+ },
95
+ languageNeedsValue: "Give a language: boggo config language fi or boggo config language en.",
96
+ languageEnvOverrides: "Note: the environment variable BOGGO_LANG overrides the saved language.",
97
+ configSaveFailed: (reason) => `Could not save the setting (${reason}).`,
98
+ },
99
+ };
100
+
101
+ // Pääohjeen rivit ryhmittäin. topic = komento, jonka tarkempi ohje (boggo help <topic>) kertoo rivistä.
102
+ export const GROUPS = [
103
+ {
104
+ id: "account",
105
+ rows: [
106
+ { cmd: "login", topic: "login", coming: false, fi: "Kirjaudu Boggo Cloudiin selaimella", en: "Log in to Boggo Cloud with your browser" },
107
+ { cmd: "logout", topic: "logout", coming: false, fi: "Kirjaudu ulos tältä koneelta", en: "Log out on this machine" },
108
+ { cmd: "whoami", topic: "whoami", coming: false, fi: "Näytä kirjautunut käyttäjä", en: "Show the logged-in user" },
109
+ ],
110
+ },
111
+ {
112
+ id: "projects",
113
+ rows: [
114
+ { cmd: "init", topic: "init", coming: false, fi: "Luo projekti tästä kansiosta", en: "Create a project from this folder" },
115
+ { cmd: "projects", topic: "projects", coming: false, fi: "Listaa organisaation projektit", en: "List your organization's projects" },
116
+ { cmd: "link", topic: "link", coming: false, fi: "Yhdistä kansio projektiin", en: "Link this folder to a project" },
117
+ { cmd: "open", topic: "open", coming: false, fi: "Avaa projekti selaimessa", en: "Open the project in your browser" },
118
+ ],
119
+ },
120
+ {
121
+ id: "deploy",
122
+ rows: [
123
+ { cmd: "push", topic: "push", coming: false, fi: "Rakenna ja tarkista julkaisematta", en: "Build and check without deploying" },
124
+ { cmd: "push --prod", topic: "push", coming: false, fi: "Rakenna ja julkaise tuotantoon", en: "Build and deploy to production" },
125
+ { cmd: "promote", topic: "promote", coming: false, fi: "Julkaise rakennus tuotantoon rakentamatta uudelleen", en: "Deploy a build to production without rebuilding" },
126
+ { cmd: "logs", topic: "logs", coming: true, fi: "Näytä sovelluksen lokit", en: "Show the app's logs" },
127
+ ],
128
+ },
129
+ {
130
+ id: "env",
131
+ rows: [
132
+ { cmd: "env pull", topic: "env", coming: true, fi: "Hae muuttujat tiedostoon .env.local", en: "Download variables to .env.local" },
133
+ { cmd: "env ls", topic: "env", coming: true, fi: "Listaa muuttujat", en: "List variables" },
134
+ ],
135
+ },
136
+ {
137
+ id: "other",
138
+ rows: [
139
+ { cmd: "help [command]", topic: "help", coming: false, fi: "Näytä ohje", en: "Show help" },
140
+ { cmd: "config language", topic: "config", coming: false, fi: "Vaihda kieli (suomi tai englanti)", en: "Change the language (Finnish or English)" },
141
+ ],
142
+ },
143
+ ];
144
+
145
+ // Komentojen tarkemmat ohjeet (boggo help <komento>). Valinnat ja esimerkit: [komento tai valinta, selitys].
146
+ export const COMMANDS = {
147
+ login: {
148
+ coming: false,
149
+ fi: {
150
+ usage: "boggo login",
151
+ description: [
152
+ "Kirjautuu Boggo Cloudiin selaimella. Komento avaa kirjautumissivun ja näyttää koodin,",
153
+ "jonka vahvistat portaalissa. Tunnus tallennetaan tälle koneelle.",
154
+ ],
155
+ options: [],
156
+ examples: [["boggo login", "Kirjaudu sisään"]],
157
+ },
158
+ en: {
159
+ usage: "boggo login",
160
+ description: [
161
+ "Logs in to Boggo Cloud with your browser. The command opens the login page and shows a code",
162
+ "that you confirm in the portal. The token is saved on this machine.",
163
+ ],
164
+ options: [],
165
+ examples: [["boggo login", "Log in"]],
166
+ },
167
+ },
168
+ logout: {
169
+ coming: false,
170
+ fi: {
171
+ usage: "boggo logout",
172
+ description: ["Poistaa tunnuksen tältä koneelta ja mitätöi sen Boggo Cloudissa."],
173
+ options: [],
174
+ examples: [["boggo logout", "Kirjaudu ulos"]],
175
+ },
176
+ en: {
177
+ usage: "boggo logout",
178
+ description: ["Removes the token from this machine and revokes it in Boggo Cloud."],
179
+ options: [],
180
+ examples: [["boggo logout", "Log out"]],
181
+ },
182
+ },
183
+ whoami: {
184
+ coming: false,
185
+ fi: {
186
+ usage: "boggo whoami",
187
+ description: ["Näyttää, kenellä tunnuksella olet kirjautunut ja mihin organisaatioihin kuulut."],
188
+ options: [],
189
+ examples: [["boggo whoami", "Näytä käyttäjä ja organisaatiot"]],
190
+ },
191
+ en: {
192
+ usage: "boggo whoami",
193
+ description: ["Shows who you are logged in as and which organizations you belong to."],
194
+ options: [],
195
+ examples: [["boggo whoami", "Show user and organizations"]],
196
+ },
197
+ },
198
+ projects: {
199
+ coming: false,
200
+ fi: {
201
+ usage: "boggo projects [options]",
202
+ description: ["Listaa organisaation projektit, niiden tilan ja osoitteen."],
203
+ options: [
204
+ ["--org <slug>", "Organisaatio, jos kuulut useampaan"],
205
+ ["--json", "Koneluettava tuloste"],
206
+ ],
207
+ examples: [["boggo projects", "Listaa projektit"]],
208
+ },
209
+ en: {
210
+ usage: "boggo projects [options]",
211
+ description: ["Lists your organization's projects with their status and address."],
212
+ options: [
213
+ ["--org <slug>", "Organization, if you belong to several"],
214
+ ["--json", "Machine-readable output"],
215
+ ],
216
+ examples: [["boggo projects", "List projects"]],
217
+ },
218
+ },
219
+ init: {
220
+ coming: false,
221
+ fi: {
222
+ usage: "boggo init [options]",
223
+ description: [
224
+ "Luo Boggo Cloudiin uuden projektin tästä kansiosta ja yhdistää kansion siihen. Komento tunnistaa",
225
+ "sovelluksen (esim. Next.js tai Dockerfile) ja kysyy nimen, käytön ja koon. Voit myös valita",
226
+ "olemassa olevan projektin. Sen jälkeen julkaise komennolla boggo push --prod.",
227
+ ],
228
+ options: [
229
+ ["--name <name>", "Projektin nimi (osoite <name>.boggo.app)"],
230
+ ["--use verkkosivu|rajapinta", "Mitä sovellus tekee"],
231
+ ["--size pieni|perus|iso", "Koko (oletus perus)"],
232
+ ["--org <slug>", "Organisaatio, jos kuulut useampaan"],
233
+ ["--yes", "Älä kysy mitään (oletukset)"],
234
+ ],
235
+ examples: [
236
+ ["boggo init", "Luo projekti ohjatusti"],
237
+ ["boggo init --name kauppa --yes", "Luo projekti kauppa kysymättä"],
238
+ ],
239
+ },
240
+ en: {
241
+ usage: "boggo init [options]",
242
+ description: [
243
+ "Creates a new Boggo Cloud project from this folder and links the folder to it. The command",
244
+ "detects the app (e.g. Next.js or a Dockerfile) and asks for the name, use and size. You can",
245
+ "also pick an existing project. Then deploy with boggo push --prod.",
246
+ ],
247
+ options: [
248
+ ["--name <name>", "Project name (address <name>.boggo.app)"],
249
+ ["--use site|api", "What the app does"],
250
+ ["--size small|basic|large", "Size (default basic)"],
251
+ ["--org <slug>", "Organization, if you belong to several"],
252
+ ["--yes", "Don't ask anything (defaults)"],
253
+ ],
254
+ examples: [
255
+ ["boggo init", "Create a project step by step"],
256
+ ["boggo init --name shop --yes", "Create the project shop without questions"],
257
+ ],
258
+ },
259
+ },
260
+ link: {
261
+ coming: false,
262
+ fi: {
263
+ usage: "boggo link [options]",
264
+ description: [
265
+ "Yhdistää nykyisen kansion Boggo Cloudin projektiin. Valitset organisaation ja projektin",
266
+ "listalta. Tieto tallennetaan kansioon .boggo, joka lisätään tiedostoon .gitignore.",
267
+ ],
268
+ options: [
269
+ ["--project <name>", "Projekti ilman valintaa listalta"],
270
+ ["--org <slug>", "Organisaatio, jos kuulut useampaan"],
271
+ ],
272
+ examples: [
273
+ ["boggo link", "Valitse projekti listalta"],
274
+ ["boggo link --project kauppa", "Yhdistä projektiin kauppa"],
275
+ ],
276
+ },
277
+ en: {
278
+ usage: "boggo link [options]",
279
+ description: [
280
+ "Links the current folder to a Boggo Cloud project. You pick the organization and project",
281
+ "from a list. The link is saved in the folder .boggo, which is added to .gitignore.",
282
+ ],
283
+ options: [
284
+ ["--project <name>", "Project, without picking from a list"],
285
+ ["--org <slug>", "Organization, if you belong to several"],
286
+ ],
287
+ examples: [
288
+ ["boggo link", "Pick a project from a list"],
289
+ ["boggo link --project shop", "Link to the project shop"],
290
+ ],
291
+ },
292
+ },
293
+ push: {
294
+ coming: false,
295
+ fi: {
296
+ usage: "boggo push [options]",
297
+ description: [
298
+ "Paketoi nykyisen kansion ja rakentaa sen Boggo Cloudissa julkaisematta, joten näet ennen",
299
+ "tuotantoa, onnistuuko rakennus. Valinnalla --prod julkaisu menee tuotantoon. Jos kansiota",
300
+ "ei ole yhdistetty projektiin, komento aloittaa ensin boggo initin.",
301
+ "Mukaan eivät tule .git, node_modules, .env-tiedostot eivätkä .gitignoren tiedostot.",
302
+ "Enimmäiskoko on 100 Mt pakattuna.",
303
+ ],
304
+ options: [
305
+ ["--prod", "Julkaise tuotantoon rakennuksen jälkeen"],
306
+ ["--project <name>", "Projekti ilman yhdistettyä kansiota (boggo link)"],
307
+ ["--org <slug>", "Organisaatio, jos kuulut useampaan (CI:ssä pakollinen silloin)"],
308
+ ],
309
+ examples: [
310
+ ["boggo push", "Rakenna ja tarkista"],
311
+ ["boggo push --prod", "Rakenna ja julkaise tuotantoon"],
312
+ ["BOGGO_TOKEN=… boggo push --prod --project kauppa --org yritys", "CI: julkaise ilman yhdistettyä kansiota"],
313
+ ],
314
+ },
315
+ en: {
316
+ usage: "boggo push [options]",
317
+ description: [
318
+ "Packs the current folder and builds it in Boggo Cloud without deploying, so you see before",
319
+ "production whether the build succeeds. With --prod the deployment goes to production. If the",
320
+ "folder isn't linked to a project, the command runs boggo init first.",
321
+ "The upload leaves out .git, node_modules, .env files and files in .gitignore.",
322
+ "The maximum size is 100 MB packed.",
323
+ ],
324
+ options: [
325
+ ["--prod", "Deploy to production after the build"],
326
+ ["--project <name>", "Project, without a linked folder (boggo link)"],
327
+ ["--org <slug>", "Organization, if you belong to several (required in CI then)"],
328
+ ],
329
+ examples: [
330
+ ["boggo push", "Build and check"],
331
+ ["boggo push --prod", "Build and deploy to production"],
332
+ ["BOGGO_TOKEN=… boggo push --prod --project shop --org company", "CI: deploy without a linked folder"],
333
+ ],
334
+ },
335
+ },
336
+ env: {
337
+ coming: true,
338
+ fi: {
339
+ usage: "boggo env <pull|ls> [options]",
340
+ description: [
341
+ "env pull hakee projektin ympäristömuuttujat tiedostoon (oletus .env.local). Salaisten",
342
+ "muuttujien arvot jäävät palvelimelle; ne tulevat tiedostoon vain nimenä kommenttina.",
343
+ "env ls listaa muuttujien nimet ja tyypit.",
344
+ ],
345
+ options: [["--project <name>", "Projekti ilman yhdistettyä kansiota (boggo link)"]],
346
+ examples: [
347
+ ["boggo env pull", "Hae muuttujat tiedostoon .env.local"],
348
+ ["boggo env pull .env", "Hae muuttujat tiedostoon .env"],
349
+ ["boggo env ls", "Listaa muuttujat"],
350
+ ],
351
+ },
352
+ en: {
353
+ usage: "boggo env <pull|ls> [options]",
354
+ description: [
355
+ "env pull downloads the project's environment variables to a file (default .env.local).",
356
+ "Secret values stay on the server; they appear in the file only as a commented name.",
357
+ "env ls lists the variables' names and types.",
358
+ ],
359
+ options: [["--project <name>", "Project, without a linked folder (boggo link)"]],
360
+ examples: [
361
+ ["boggo env pull", "Download variables to .env.local"],
362
+ ["boggo env pull .env", "Download variables to .env"],
363
+ ["boggo env ls", "List variables"],
364
+ ],
365
+ },
366
+ },
367
+ logs: {
368
+ coming: true,
369
+ fi: {
370
+ usage: "boggo logs [options]",
371
+ description: ["Näyttää sovelluksen tulosteen, kuten portaalin Lokit → Sovellus."],
372
+ options: [
373
+ ["--follow", "Seuraa uusia rivejä"],
374
+ ["--requests", "Näytä pyyntöloki sovelluksen tulosteen sijaan"],
375
+ ["--since <time>", "Aikaväli, esim. 1h tai 24h"],
376
+ ["--project <name>", "Projekti ilman yhdistettyä kansiota (boggo link)"],
377
+ ],
378
+ examples: [
379
+ ["boggo logs", "Viimeisimmät rivit"],
380
+ ["boggo logs --follow", "Seuraa lokia"],
381
+ ],
382
+ },
383
+ en: {
384
+ usage: "boggo logs [options]",
385
+ description: ["Shows the app's output, like Logs → App in the portal."],
386
+ options: [
387
+ ["--follow", "Follow new lines"],
388
+ ["--requests", "Show the request log instead of the app's output"],
389
+ ["--since <time>", "Time range, e.g. 1h or 24h"],
390
+ ["--project <name>", "Project, without a linked folder (boggo link)"],
391
+ ],
392
+ examples: [
393
+ ["boggo logs", "Latest lines"],
394
+ ["boggo logs --follow", "Follow the log"],
395
+ ],
396
+ },
397
+ },
398
+ promote: {
399
+ coming: false,
400
+ fi: {
401
+ usage: "boggo promote [number] [options]",
402
+ description: [
403
+ "Julkaisee onnistuneen rakennuksen (boggo push) tuotantoon sellaisenaan, ilman uutta rakennusta.",
404
+ "Ilman numeroa julkaistaan kansion viimeisin rakennus. Rakennus on tallessa 24 tuntia, ja vain",
405
+ "projektin uusin onnistunut rakennus voidaan julkaista.",
406
+ ],
407
+ options: [
408
+ ["--force", "Julkaise, vaikka julkiset muuttujat (NEXT_PUBLIC_, VITE_) ovat muuttuneet rakennuksen jälkeen"],
409
+ ["--project <name>", "Projekti ilman yhdistettyä kansiota (anna myös numero)"],
410
+ ["--org <slug>", "Organisaatio, jos kuulut useampaan"],
411
+ ],
412
+ examples: [
413
+ ["boggo push && boggo promote", "Rakenna, tarkista ja julkaise sama rakennus"],
414
+ ["boggo promote 12", "Julkaise rakennus #12"],
415
+ ],
416
+ },
417
+ en: {
418
+ usage: "boggo promote [number] [options]",
419
+ description: [
420
+ "Deploys a successful build (boggo push) to production as it is, without building again.",
421
+ "Without a number, the folder's latest build is deployed. A build is kept for 24 hours, and only",
422
+ "the project's newest successful build can be deployed.",
423
+ ],
424
+ options: [
425
+ ["--force", "Deploy even if public variables (NEXT_PUBLIC_, VITE_) changed after the build"],
426
+ ["--project <name>", "Project, without a linked folder (also give the number)"],
427
+ ["--org <slug>", "Organization, if you belong to several"],
428
+ ],
429
+ examples: [
430
+ ["boggo push && boggo promote", "Build, check and deploy the same build"],
431
+ ["boggo promote 12", "Deploy build #12"],
432
+ ],
433
+ },
434
+ },
435
+ open: {
436
+ coming: false,
437
+ fi: {
438
+ usage: "boggo open [options]",
439
+ description: ["Avaa projektin julkisen osoitteen selaimessa."],
440
+ options: [["--portal", "Avaa projektin sivu Boggo Cloudin portaalissa"]],
441
+ examples: [
442
+ ["boggo open", "Avaa sivusto"],
443
+ ["boggo open --portal", "Avaa projekti portaalissa"],
444
+ ],
445
+ },
446
+ en: {
447
+ usage: "boggo open [options]",
448
+ description: ["Opens the project's public address in your browser."],
449
+ options: [["--portal", "Open the project's page in the Boggo Cloud portal"]],
450
+ examples: [
451
+ ["boggo open", "Open the site"],
452
+ ["boggo open --portal", "Open the project in the portal"],
453
+ ],
454
+ },
455
+ },
456
+ help: {
457
+ coming: false,
458
+ fi: {
459
+ usage: "boggo help [command]",
460
+ description: ["Näyttää kaikki komennot tai yhden komennon tarkemman ohjeen."],
461
+ options: [],
462
+ examples: [
463
+ ["boggo help", "Kaikki komennot"],
464
+ ["boggo help push", "Komennon push ohje"],
465
+ ],
466
+ },
467
+ en: {
468
+ usage: "boggo help [command]",
469
+ description: ["Shows all commands, or detailed help for one command."],
470
+ options: [],
471
+ examples: [
472
+ ["boggo help", "All commands"],
473
+ ["boggo help push", "Help for push"],
474
+ ],
475
+ },
476
+ },
477
+ config: {
478
+ coming: false,
479
+ fi: {
480
+ usage: "boggo config language [fi|en]",
481
+ description: [
482
+ "Vaihtaa kielen. Ilman arvoa komento kysyy kielen. Valinta tallennetaan tiedostoon",
483
+ "~/.boggo/config.json. Yhdelle komennolle kielen voi valita valinnalla --lang, ja",
484
+ "ympäristömuuttuja BOGGO_LANG ohittaa tallennetun kielen.",
485
+ ],
486
+ options: [],
487
+ examples: [
488
+ ["boggo config language", "Kysy kieli"],
489
+ ["boggo config language en", "Vaihda englanniksi"],
490
+ ["boggo help --lang en", "Ohje kerran englanniksi"],
491
+ ],
492
+ },
493
+ en: {
494
+ usage: "boggo config language [fi|en]",
495
+ description: [
496
+ "Changes the language. Without a value the command asks for it. The choice is saved in",
497
+ "~/.boggo/config.json. Use --lang to pick a language for one command; the environment",
498
+ "variable BOGGO_LANG overrides the saved language.",
499
+ ],
500
+ options: [],
501
+ examples: [
502
+ ["boggo config language", "Ask for the language"],
503
+ ["boggo config language fi", "Switch to Finnish"],
504
+ ["boggo help --lang fi", "Help in Finnish once"],
505
+ ],
506
+ },
507
+ },
508
+ };
509
+
510
+ // Komennot ja niiden argumentit ovat aina englanniksi (Don 28.11.2026): boggo config language, ei config kieli.
511
+ export const LANGUAGE_SETTING_NAMES = ["language"];