The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { type LocalCommandDefinition } from '@/catalog/types/command-definition.type';
export const LOCAL_START_COMMAND_DEFINITION: LocalCommandDefinition = {
path: ['local', 'start'],
description: 'Start the local Twenty development environment',
options: [
{
flags: '-p, --port <port>',
description:
'HTTP port for a new instance (default: 2020, or 2021 with --test)',
},
{
flags: '--test',
description: 'Use the separate local test instance',
},
],
arguments: [
{
name: 'version',
description:
'Twenty version or image tag (new instances: engines.twenty, then latest)',
required: false,
},
],
examples: ['twenty local start', 'twenty local start 2.53.1 --test'],
outputModes: ['human', 'json'],
writes: true,
needsProject: false,
needsTarget: false,
load: async () =>
(await import('@/commands/local/start/run-local-start-command'))
.runLocalStartCommand,
};