gengetopt
skeleton main.c generator
Install
- All systems
-
curl cmd.cat/gengetopt.sh
- Debian
-
apt-get install gengetopt
- Ubuntu
-
apt-get install gengetopt
- Alpine
-
apk add gengetopt
- Arch Linux
-
pacman -S gengetopt
- Kali Linux
-
apt-get install gengetopt
- Fedora
-
dnf install gengetopt
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install gengetopt
- OS X
-
brew install gengetopt
- Raspbian
-
apt-get install gengetopt
- Dockerfile
- dockerfile.run/gengetopt
- Docker
-
docker run cmd.cat/gengetopt gengetopt
powered by Commando
gengetopt
skeleton main.c generator
gengetopt reads an interface description file, and writes a skeleton main.c file. gengetopt supports: long and short options, 11 types of parameters (including flag, int, double, string, and function call), and a usage message.