this repo has no description
0
fork

Configure Feed

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

move source code to source/

+17 -18
-14
cli.js
··· 1 - #! /usr/bin/env node 2 - 3 - import {program} from 'commander'; 4 - import {config, update} from './commands/index.js'; 5 - import packageJson from './package.json' with {type: 'json'}; 6 - 7 - program 8 - .name(packageJson.name) 9 - .description(packageJson.description) 10 - .version(packageJson.version); 11 - 12 - program.addCommand(config).addCommand(update); 13 - 14 - await program.parseAsync();
commands/config/commands/index.js source/commands/config/commands/index.js
commands/config/commands/set/commands/index.js source/commands/config/commands/set/commands/index.js
commands/config/commands/set/commands/set-mode.js source/commands/config/commands/set/commands/set-mode.js
commands/config/commands/set/index.js source/commands/config/commands/set/index.js
commands/config/commands/set/set.js source/commands/config/commands/set/set.js
commands/config/commands/show.js source/commands/config/commands/show.js
commands/config/config.js source/commands/config/config.js
commands/config/index.js source/commands/config/index.js
commands/index.js source/commands/index.js
commands/update.js source/commands/update.js
+1 -1
library/get-config.js source/library/get-config.js
··· 1 1 import Conf from 'conf'; 2 2 import {getTerminalDefaultProfile} from 'mac-terminal'; 3 - import packageJson from '../package.json' with {type: 'json'}; 3 + import packageJson from '../../package.json' with {type: 'json'}; 4 4 5 5 export default async function getConfig() { 6 6 const defaultProfile = await getTerminalDefaultProfile();
library/get-current-mode.js source/library/get-current-mode.js
library/index.js source/library/index.js
library/modes.js source/library/modes.js
+2 -3
package.json
··· 17 17 "author": "Patrik Csak <p@trikcsak.com> (https://patrikcsak.com)", 18 18 "type": "module", 19 19 "bin": { 20 - "auto-terminal-profile": "cli.js" 20 + "auto-terminal-profile": "source/cli.js" 21 21 }, 22 22 "files": [ 23 - "commands", 24 - "library" 23 + "source" 25 24 ], 26 25 "scripts": { 27 26 "_eslint": "eslint --cache --cache-strategy=content",
+14
source/cli.js
··· 1 + #! /usr/bin/env node 2 + 3 + import {program} from 'commander'; 4 + import packageJson from '../package.json' with {type: 'json'}; 5 + import {config, update} from './commands/index.js'; 6 + 7 + program 8 + .name(packageJson.name) 9 + .description(packageJson.description) 10 + .version(packageJson.version); 11 + 12 + program.addCommand(config).addCommand(update); 13 + 14 + await program.parseAsync();