nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
56 stars 4 forks source link

Better support for Resty #184

Open nkh opened 3 weeks ago

nkh commented 3 weeks ago

https://github.com/micha/resty

resty makes it simple to implement a "terminal" for scripting Asciio

resty http://127.0.0.1:4444/script
POST "some script"

examples of errors encountered the first time resty was used

Use of uninitialized value in string eq at /home/nadim/nadim/devel/repositories/perl_modules/P5-App-
Asciio/blib/lib/App/Asciio/Scripting.pm line 185.

Asciio: error running script: Bareword "new_2" not allowed while "strict subs" in use at (eval 167) line 1.

Asciio: error running script: Can't locate object method "set_user_data" via package "new_2" (perhaps you forgot to load "new_2"?) at /home/nadim/nadim/devel/repositories/perl_modules/P5-App-Asciio/blib/lib/App/Asciio/Scripting.pm line 176.

Asciio: error running script: Bareword "new" not allowed while "strict subs" in use at (eval 170) line 1.
nkh commented 2 weeks ago

make 2 bash scripts that use xh instead

integrate some history and bash completion