ronin-rb / ronin-core

A core library for all ronin libraries.
https://ronin-rb.dev
GNU Lesser General Public License v3.0
3 stars 3 forks source link

Allow registering `OutputFormats` without file extension #58

Closed AI-Mozi closed 1 month ago

AI-Mozi commented 1 month ago

But '' will be used for few different output formats..

postmodern commented 1 month ago

@AI-Mozi hmm yeah. We should keep register :dir, '', Dir that way ronin-recon run --output path/to/dir will select the OutputFormats::Dir output format, but Archive/GitArchive should not specify a file extension and would need to be specified explicitly (ex: --output-format archive or --output archive:path/to/dir).