16 lines
433 B
JavaScript
16 lines
433 B
JavaScript
import { cubes } from '@bitsquare/nopy';
|
|
import { z } from 'zod';
|
|
|
|
export default cubes.Manifest({
|
|
id: 'apt:install',
|
|
name: 'Install packages with apt',
|
|
dependencies: () => [],
|
|
schema: z.object({
|
|
UPDATE: z.boolean().describe('Update package cache before installing').default(false),
|
|
PACKAGES: z
|
|
.string()
|
|
.describe('Space-separated list of packages to install')
|
|
.default('vim htop curl'),
|
|
}),
|
|
});
|