INNER CODE UNIT · TypeScript

showHelp

niklashigi/apk-mitm · src/cli.ts:233

function showHelp() {
  console.log(chalk`
  $ {bold apk-mitm} <path-to-apk/xapk/apks/decoded-directory>

  {blue {dim.bold *} Optional flags:}
  {dim {bold --wait} Wait for manual changes before re-encoding}
  {dim {bold --tmp-dir <path>} Where temporary files will be stored}
  {dim {bold --keep-tmp-dir} Don't delete the temporary directory after patching}
  {dim {bold --debuggable} Make the patched app debuggable}
  {dim {bold --skip-patches} Don't apply any patches (for troubleshooting)}
  {dim {bold --apktool <path-to-jar>} Use custom version of Apktool}
  {dim {bold --certificate <path-to-pem/der>} Add specific certificate to network security config}
  {dim {bold --maps-api-key <api-key>} Add custom Google Maps API key to be replaced while patching apk}
  `)
}

/**
 * Error that is shown when the file provided through the positional argument

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…