You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if BatSh already supports this, but having "library" support where library batsh scripts can be included in the parent BatSh script can provide a means of modularizing support.
ie - assuming that batsh supported the concept of global automatic variables like argc and argv, someone could write a batsh script library like gotopt.batsh that a parent script could include with:
include("getopt.batsh");
The output in either batch or bash could be one monolithic file that includes all the logic of the libraries or break each down into their own generated code file to be evaled or however to include the logic.
The text was updated successfully, but these errors were encountered:
dgtlrift
changed the title
include mnemonic
include("") mnemonic for library support
Sep 3, 2015
Not sure if BatSh already supports this, but having "library" support where library batsh scripts can be included in the parent BatSh script can provide a means of modularizing support.
ie - assuming that batsh supported the concept of global automatic variables like argc and argv, someone could write a batsh script library like gotopt.batsh that a parent script could include with:
include("getopt.batsh");
The output in either batch or bash could be one monolithic file that includes all the logic of the libraries or break each down into their own generated code file to be evaled or however to include the logic.
The text was updated successfully, but these errors were encountered: