Enhance Mantis "list" command
Discussed in https://github.com/PhonePe/mantis/discussions/29
Originally posted by 0xbharath June 19, 2024 @Prateek-Thakare @Ncoder2 Can we have a "list" as a top level command for mantis along with onboard and scan? I feel that this can come in handy when one wants to list orgs that are onboarded to the Mantis and other details. I have onboarded 20+ orgs on Mantis and it is not comfortable to do a DB query or go to dashboard everytime to get this list.
Example:
$ mantis list orgs
org1
org2
org2
This is a good issue to pick up for new contributors. mantis list is already implemented. We need to enhance the mantis list command with more features
- To list the TLDs under an org. something like
mantis list -o org tlds
mantis list -o navigalactic tlds
navigalactic.com
navigalactic.in
navigalatic.org
This command can be enhanced to list the subdomains found after a certain date based on timestamps.
mantis list -o navigalactic --subs --after 2024-25-07
This should list the subdomains found after 2024-25-07. Similarly before and between constructs can be added to list subdomains.
Can you assign this to me? I've raised PR for this
this issue can be closed since PR is merged
Thanks for your contribution @dmdhrumilmistry !