All files / src/commands/tcp-redirs tcp-redirs.options.js

100% Statements 11/11
100% Branches 1/1
100% Functions 0/0
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x  
import { z } from 'zod';
import { defineOption } from '../../lib/define-option.js';
import { completeNamespaces } from '../../models/namespaces.js';
 
export const namespaceOption = defineOption({
  name: 'namespace',
  schema: z.string(),
  description: 'Namespace in which the TCP redirection should be',
  placeholder: 'namespace',
  complete: completeNamespaces,
});