Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions src/__tests__/cli-aliases.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,33 +39,6 @@ describe('CLI compatibility aliases', { timeout: 30000 }, () => {
});
}

testWithBuiltCli(
'sql preserves experimental aliases and execution options',
() => {
const flags = ['SHOW CATEGORIES', '--execute', '--pretty'];
const canonical = run(['sql', ...flags]);
expect(canonical.status, canonical.stderr).toBe(0);
expect(JSON.parse(canonical.stdout)).toMatchObject({
calls: [
{
provider: 'firecrawl',
capability: 'sql',
options: { query: 'SHOW CATEGORIES', execute: true },
},
],
options: { pretty: true },
});
for (const prefix of [
['x', 'sql'],
['experimental', 'sql'],
]) {
const alias = run([...prefix, ...flags]);
expect(alias.status, alias.stderr).toBe(0);
expect(alias.stdout).toBe(canonical.stdout);
}
}
);

testWithBuiltCli(
'credits preserves credit-usage options and authentication',
() => {
Expand Down
85 changes: 0 additions & 85 deletions src/__tests__/commands/sql.test.ts

This file was deleted.

99 changes: 0 additions & 99 deletions src/commands/create.ts

This file was deleted.

57 changes: 0 additions & 57 deletions src/commands/sql.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

import { Command, InvalidArgumentError, Option } from 'commander';
import { createSqlCommand } from './commands/sql';
import { addFormatsAlias } from './utils/format-option';
import {
addAlexandriaScrapeOptions,
Expand Down Expand Up @@ -104,7 +103,6 @@ import type { SearchSource, SearchCategory } from './types/search';
import type { ScrapeFormat } from './types/scrape';
import type { RelatedPapersOptions } from './types/research';
import type { AgentExchangeOptions, AgentWebhookConfig } from 'firecrawl';
import { createCreateCommand } from './commands/create';
import { createListCommand, createAlexandriaCommand } from './commands/list';

// Initialize global configuration from environment variables
Expand Down Expand Up @@ -2688,11 +2686,6 @@ program.addCommand(createInteractCommand());
// Hidden: deprecated browser command (still works, just not in --help)
program.addCommand(createBrowserCommand(), { hidden: true });

// Hidden: `firecrawl create <kind>` — scaffolds Firecrawl starter projects.
// Undocumented until `firecrawl-agent-cli` is published to npm; flip to
// visible by removing `{ hidden: true }`.
program.addCommand(createCreateCommand(), { hidden: true });

// Experimental: download command
const experimental = new Command('experimental')
.description('Experimental commands (download)')
Expand All @@ -2704,8 +2697,6 @@ Shorthand: "firecrawl x" is an alias for "firecrawl experimental".
`
);
experimental.addCommand(createDownloadCommand());
program.addCommand(createSqlCommand(), { hidden: true });
experimental.addCommand(createSqlCommand(), { hidden: true });
program.addCommand(experimental);

program
Expand Down
Loading
Loading