ditto/tribes-cli/tribe/mod.ts
2024-09-26 17:53:08 +05:30

18 lines
535 B
TypeScript

import { create } from './new.ts';
import { config } from './config.ts';
import { Subcommand } from '../utils.ts';
export const tribe: Record<string, Subcommand> = {
create: {
action: create,
description: 'Create a new tribe.',
options: {
'-c --custom-domain': {
description: 'Do not use a subdomain of the tribes server; instead, use a custom domain.',
},
'-s --subdomain': {
description: 'Use a subdomain of the tribes server to host the new Ditto instance.',
},
},
},
};