Hello,
It would be great to rework the current usage options:
$ certitude -h
usage: certitude [-h] [-c COMPONENT] [-b BATCH_NAME] command
CERTitude, the modular Python scanner, network mapper and IOC Seeker
positional arguments:
command command to run ('init', 'run')
optional arguments:
-h, --help show this help message and exit
-c COMPONENT, --component COMPONENT
component to run ('interface', 'iocscan')
-b BATCH_NAME, --batch-name BATCH_NAME
[iocscan] Specify batch name
With this current usage options, I naively understand that:
So, the init command is really misleading so you should make it a specific option (better, mandatory for the first launch), not positional argument.
IHMO you should go
from
$ certitude -h
usage: certitude [-h] [-c COMPONENT] [-b BATCH_NAME] command
CERTitude, the modular Python scanner, network mapper and IOC Seeker
positional arguments:
command command to run ('init', 'run')
optional arguments:
-h, --help show this help message and exit
-c COMPONENT, --component COMPONENT
component to run ('interface', 'iocscan')
-b BATCH_NAME, --batch-name BATCH_NAME
[iocscan] Specify batch name
to
$ certitude -h
usage: certitude [-h] [-c COMPONENT] [-b BATCH_NAME] command
CERTitude, the modular Python scanner, network mapper and IOC Seeker
positional arguments:
command command to run ('run')
optional arguments:
-h, --help show this help message and exit
-i, --init init the database and create user accounts (for the first launch)
-c COMPONENT, --component COMPONENT
component to run ('interface', 'iocscan')
-b BATCH_NAME, --batch-name BATCH_NAME
[iocscan] Specify batch name
Cheers.
Hello,
It would be great to rework the current usage options:
With this current usage options, I naively understand that:
Without specific option I could type:
certitude init: which really exists, for the first launchcertitude run: which does not existWith specific options I could type:
certitude -c interface run: which existscertitude -c interface init: which does not existscertitude -c iocscan init: which does not existcertitude -c iocscan run: which existscertitude -b <batchname> init: which does not existcertitude -b <batchname> run: which does existSo, the
initcommand is really misleading so you should make it a specific option (better, mandatory for the first launch), not positional argument.IHMO you should go
from
to
Cheers.