import { CommandBuilders } from '@ag-kit/tools';
// File operations
const listCommand = CommandBuilders.listFiles('/home/user', {
all: true, long: true, human: true
});
const findCommand = CommandBuilders.findFiles('*.ts', './src');
const grepCommand = CommandBuilders.grep('TODO', '*.js', {
recursive: true, ignoreCase: true
});
// Directory operations
const mkdirCommand = CommandBuilders.mkdir('/path/to/dir', { parents: true });
const copyCommand = CommandBuilders.copy('source', 'dest', { recursive: true });
const removeCommand = CommandBuilders.remove('/tmp/file', { force: true });
// Execute built commands
const result = await bashTool.invoke({ command: listCommand });