#proc #chatgpt #python #gpt #curl #bash #step

app chatgpt2py

step aside curl | bash there's a new sheriff in town

1 unstable release

0.1.0 Mar 3, 2023

#45 in #curl

MIT license

13KB
137 lines

my contribution to the ChatGPT craze.

Usage:

eiz@eiz13k:~$ gpt print all the sysctls from /proc/sys | python
['abi', 'debug', 'dev', 'fs', 'fscache', 'kernel', 'net', 'sunrpc', 'user', 'vm']
eiz@eiz13k:~$ gpt print all the sysctls from /proc/sys, recursively | python
/proc/sys/abi/vsyscall32
/proc/sys/debug/exception-trace
/proc/sys/debug/kprobes-optimization
/proc/sys/dev/raid/speed_limit_max
/proc/sys/dev/raid/speed_limit_min
/proc/sys/dev/scsi/logging_level
/proc/sys/dev/tty/ldisc_autoload
/proc/sys/fs/aio-max-nr
/proc/sys/fs/aio-nr
...

Dependencies

~9–21MB
~295K SLoC