tools-cc 1.0.5 → 1.0.6

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.
package/src/index.ts CHANGED
@@ -3,10 +3,9 @@
3
3
  import { Command } from 'commander';
4
4
  import { handleConfigSet, handleConfigGet, handleConfigList } from './commands/config';
5
5
  import { handleSourceAdd, handleSourceList, handleSourceRemove, handleSourceUpdate, handleSourceScan } from './commands/source';
6
- import { handleUse, handleList, handleRemove, handleStatus, handleProjectUpdate } from './commands/use';
7
- import { handleExport } from './commands/export';
8
- import { showHelp } from './commands/help';
9
- import { GLOBAL_CONFIG_DIR } from './utils/path';
6
+ import { handleUse, handleList, handleRemove, handleStatus, handleProjectUpdate } from './commands/use';
7
+ import { handleExport } from './commands/export';
8
+ import { showHelp } from './commands/help';
10
9
 
11
10
  const program = new Command();
12
11
 
@@ -92,14 +91,14 @@ configCmd
92
91
 
93
92
  // Project commands
94
93
  program
95
- .command('use [sources...]')
96
- .description('Use sources in current project')
97
- .option('-p, --projects <tools...>', 'Tools to link (iflow, claude, codebuddy, opencode)')
98
- .option('-ls', 'Interactive selection mode for single source')
99
- .option('-c, --config <file>', 'Import from config file')
100
- .action(async (sources: string[], options) => {
101
- await handleUse(sources, options);
102
- });
94
+ .command('use [sources...]')
95
+ .description('Use sources in current project')
96
+ .option('-p, --projects <tools...>', 'Tools to link (iflow, claude, codebuddy, opencode, codex)')
97
+ .option('-l, --ls', 'Interactive selection mode for single source')
98
+ .option('-c, --config <file>', 'Import from config file')
99
+ .action(async (sources: string[], options) => {
100
+ await handleUse(sources, options);
101
+ });
103
102
 
104
103
  program
105
104
  .command('list')