@capawesome/cli
Version:
The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.
14 lines (13 loc) • 618 B
JavaScript
import { defineCommand, defineOptions } from '@robingenz/zli';
import consola from 'consola';
import { z } from 'zod';
export default defineCommand({
description: 'Generate a manifest file. Deprecated, use `apps:liveupdates:generate-manifest` instead.',
options: defineOptions(z.object({
path: z.string().optional().describe('Path to the web assets folder (e.g. `www` or `dist`).'),
})),
action: async (options, args) => {
consola.warn('The `manifests:generate` command has been deprecated. Please use `apps:liveupdates:generatemanifest` instead.');
process.exit(1);
},
});