I am building cli tool to translate human readable descriptions of commands to programs.
Simple example: show calendar
will call command call
Advanced example perl oneliner that will show first 10 fibonacci sequence elements
will call perl -e 'sub f{ $_[0] < 2 ? $_[0] : f($_[0]-1) + f($_[0]-2) } print join(", ", map{ f($_) } 1..10), "\n";'
But without classic
I can’t get access from snap to host programs context. I initially described it on forum:
https://askubuntu.com/questions/1460224/is-possible-to-execute-commands-on-host-from-snap-package
and my source code is here: https://github.com/gustawdaniel/gpt-cli
in I have seen instruction:
(NEEDS REVIEW) confinement ‘classic’ not allowed. If your snap needs classic confinement to function, please make a request for this snap to use classic by creating a new topic in the forum using the ‘store-requests’ category and detail the technical reasons why classic is required. lint-snap-v2_confinement_classic