项目作者: glue-tools

项目描述 :
inspect cmdline arguments
高级语言: Dockerfile
项目地址: git://github.com/glue-tools/argprint.git
创建时间: 2021-03-31T12:05:13Z
项目社区:https://github.com/glue-tools/argprint

开源协议:MIT License

下载


argprint

a simple troubleshooting tool that repeats the command line arguments that get passed to it. Useful to inspect escaping, etc. Can be used i.e. as a temporary wrapper for any other command:

  1. $ alias docker=argprint
  2. $ docker run --rm -ti fedora:34 /bin/bash -c "echo hello world"
  3. -----------------
  4. args: 8
  5. argprint
  6. run
  7. --rm
  8. -ti
  9. fedora:34
  10. /bin/bash
  11. -c
  12. echo hello world
  13. -----------------
  14. $ unalias docker