this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

consistent output casing

+4 -17
-11
package-lock.json
··· 16 16 "conf": "^15.0.2", 17 17 "consola": "^3.4.2", 18 18 "dark-mode": "^5.0.0", 19 - "es-toolkit": "^1.45.1", 20 19 "mac-terminal": "^5.0.0", 21 20 "ow": "^3.1.1" 22 21 }, ··· 3409 3408 "funding": { 3410 3409 "url": "https://github.com/sponsors/ljharb" 3411 3410 } 3412 - }, 3413 - "node_modules/es-toolkit": { 3414 - "version": "1.45.1", 3415 - "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.45.1.tgz", 3416 - "integrity": "sha512-/jhoOj/Fx+A+IIyDNOvO3TItGmlMKhtX8ISAHKE90c4b/k1tqaqEZ+uUqfpU8DMnW5cgNJv606zS55jGvza0Xw==", 3417 - "license": "MIT", 3418 - "workspaces": [ 3419 - "docs", 3420 - "benchmarks" 3421 - ] 3422 3411 }, 3423 3412 "node_modules/escalade": { 3424 3413 "version": "3.2.0",
-1
package.json
··· 48 48 "conf": "^15.0.2", 49 49 "consola": "^3.4.2", 50 50 "dark-mode": "^5.0.0", 51 - "es-toolkit": "^1.45.1", 52 51 "mac-terminal": "^5.0.0", 53 52 "ow": "^3.1.1" 54 53 },
+1 -1
source/cli/actions/config/set-mode.js
··· 15 15 16 16 config.set(`profiles.${mode}`, profile); 17 17 18 - consola.success('Saved configuration'); 18 + consola.success('saved configuration'); 19 19 20 20 if (mode === (await getCurrentMode())) { 21 21 await setTerminalProfile({profile, setDefault: true});
+2 -2
source/cli/actions/config/set.js
··· 13 13 for (const mode of modes) { 14 14 // eslint-disable-next-line no-await-in-loop 15 15 const selectedProfile = await consola.prompt( 16 - `Select ${mode} mode profile`, 16 + `select ${mode} mode profile`, 17 17 { 18 18 type: 'select', 19 19 options: profiles, ··· 29 29 30 30 config.set('profiles', newProfiles); 31 31 32 - consola.success('Saved configuration'); 32 + consola.success('saved configuration'); 33 33 34 34 const currentMode = await getCurrentMode(); 35 35
+1 -2
source/cli/actions/config/show.js
··· 1 1 // eslint-disable-next-line n/prefer-global/console 2 2 import console from 'node:console'; 3 3 import {styleText} from 'node:util'; 4 - import {upperFirst} from 'es-toolkit/string'; 5 4 import {getConfig, modes} from '#library'; 6 5 7 6 /** ··· 17 16 : '\u{2600}'; // Sun 18 17 19 18 console.log( 20 - `${styleText('yellow', icon)} ${upperFirst(mode)} mode profile: ${config.get(`profiles.${mode}`)}`, 19 + `${styleText('yellow', icon)} ${mode} mode profile: ${config.get(`profiles.${mode}`)}`, 21 20 ); 22 21 } 23 22 }