https://github.com/christian-korneck/argprint
inspect cmdline arguments
https://github.com/christian-korneck/argprint
args argument-parser arguments cmdline cmdline-parser
Last synced: 2 months ago
JSON representation
inspect cmdline arguments
- Host: GitHub
- URL: https://github.com/christian-korneck/argprint
- Owner: christian-korneck
- License: mit
- Created: 2021-03-31T12:05:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T13:14:39.000Z (about 4 years ago)
- Last Synced: 2025-03-11T01:07:26.073Z (2 months ago)
- Topics: args, argument-parser, arguments, cmdline, cmdline-parser
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```
$ alias docker=argprint
$ docker run --rm -ti fedora:34 /bin/bash -c "echo hello world"
-----------------
args: 8
argprint
run
--rm
-ti
fedora:34
/bin/bash
-c
echo hello world
-----------------
$ unalias docker
```