Is it possible to validade oclif flags values

148 views Asked by At

I want to know if it's possible to validate the flag value before the command is executed.

healthCheckPort: Flags.integer({
    description: 'This flag allows you to choose what port the health check sever is running on.',
    default: 6000,
    dependsOn: ['healthCheck'],
  }),

0

There are 0 answers