alwaysai
Version:
The alwaysAI command-line interface (CLI)
18 lines (15 loc) • 473 B
text/typescript
import { createLeaf } from '@alwaysai/alwayscli';
import { yesCliInput } from '../../cli-inputs/yes-cli-input';
import { appDeployComponent } from '../../components/app-deploy-component';
export const appDeployCliLeaf = createLeaf({
name: 'deploy',
description: 'Install this application and its dependencies to the target',
options: {
yes: yesCliInput,
},
async action(_, opts) {
return await appDeployComponent({
yes: opts.yes,
});
},
});