...

/

Exercise: Adding and Validating Flags

Exercise: Adding and Validating Flags

Test your coding skills on the Cobra CLI framework.

We'll cover the following...

Challenge

In this exercise, your challenge is to add a new flag and some validation to the pScan tool.

Problem Statement

Add a new flag to pScan scan subcommand allowing the user to specify a filter to show only open or closed ports.

Coding Challenge

Add a new flag to the ...