OWASP / threat-dragon

An open source threat modeling tool from OWASP
https://owasp.org/www-project-threat-dragon/
Apache License 2.0
888 stars 234 forks source link

desktop command line interface #372

Open jgadsden opened 2 years ago

jgadsden commented 2 years ago

Describe what problem your feature request solves Version 1.x of Threat Dragon has a CLI - this needs to be migrated to version 2.0

Describe the solution you'd like Implement CLI for version 2.0 using version 1.x as an example

Additional context Version 1.x used the yargs package to supply the CLI

jgadsden commented 2 years ago

It looks like we will not have this in time for version 2.0, so moving it to version 2.x

njmulsqb commented 1 year ago

Where can I get the code for CLI in 1.x that I need to follow?

jgadsden commented 1 year ago

Hello @njmulsqb - the CLI was implemented in version 1.x, branch archive-legacy-v1.x

njmulsqb commented 1 year ago

Thank you @jgadsden, can you point me towards the directory containing CLI code, it would be easier for me since there's lots of code. Also it would be great if you can give some pointers that I would need to do this task, I am interested in solving this issue.