import { CliBranch } from '@alwaysai/alwayscli';
import { appShowCliLeaf } from './show';
import { appModelsCliBranch } from './models';
import { appInstallCliLeaf } from './install';
import { appConfigureCliLeaf } from './configure';
import { appStartCliLeaf } from './start';
import { appExecCliLeaf } from './exec';
import { appShellCliLeaf } from './shell';
import { appPackageCliLeaf } from './package';
import { appPublishCliLeaf } from './publish';
import { appAnalyticsCliBranch } from './analytics';
import { appGenerateCliBranch } from './generate';

export const appCliBranch = CliBranch({
  name: 'app',
  description: 'Develop an alwaysAI application',
  subcommands: [
    appConfigureCliLeaf,
    appInstallCliLeaf,
    appExecCliLeaf,
    appModelsCliBranch,
    appShellCliLeaf,
    appShowCliLeaf,
    appStartCliLeaf,
    appPackageCliLeaf,
    appPublishCliLeaf,
    appAnalyticsCliBranch,
    appGenerateCliBranch
  ]
});
