CLI calling another CLI ? #1627
-
Currently, on an other project, I made a CLI in bash which have the capacity of calling himself. Is it possible to create some small CLI script in javascript and call an other one? We just have to start to code small peace of code, and after connecting them :D |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@dmpvost can you share a little more about what you are working on? Are you asking if javascript code can require other JS code? Or, perhaps, are you asking if JS code can shell out to bash or another program and use it's output? In both cases the answer is yes! |
Beta Was this translation helpful? Give feedback.
-
Note: There's a revamp of the CLI system coming soon - #1670 |
Beta Was this translation helpful? Give feedback.
@dmpvost can you share a little more about what you are working on? Are you asking if javascript code can require other JS code? Or, perhaps, are you asking if JS code can shell out to bash or another program and use it's output? In both cases the answer is yes!