...

/

Solution: Adding and Validating Flags

Solution: Adding and Validating Flags

See the solution to adding a new flag to the pScan scan subcommand.

We'll cover the following...

Solution explanation

In the scan.go file, we run a preRunE function that specifies a new filter that the user can ...