forensic-architecture / mtriage

framework to orchestrate the download and analysis of media
Other
98 stars 16 forks source link

print command when --dry is passed #143

Closed breezykermo closed 4 years ago

breezykermo commented 4 years ago

Value was returned as a list for tests, but not printed for more interactive debugging. This PR allows you to run with the --dry flag on the command line to see what the docker command being executed under the hood is. i.e. ./mtriage dev --dry returns something like:

docker run -it --rm --name mtriage_developer --ipc=host --env BASE_DIR=/mtriage --env-file=/Users/myname/code/fa/mtriage/.env --privileged -v /Users/myname/code/fa/mtriage:/mtriage -v /Users/myname/.config/gcloud:/root/.config/gcloud forensicarchitecture/mtriage:dev /bin/bash