User Command Apps
To make a Dado project a Dyalog User Command application, create a root level namespace named UCMD and implement three functions in this space:
List
Help
Run
The arguments and results of these functions are defined by, respectively, the List
, Help
and Run
functions of the Dyalog User Command framework. (The only exception is that while List
is a niladic function, UserCommandList
is monadic. See the Dyalog User Command documentation for details.
Dado itself is a user command, so its implementation of these three functions may be used as a guide.
There is no need to implement a .dyalog user command file. This is done for you when Dado builds the application. The compressed application release artifact contains the application folder, which contains everything needed. To install the user command simply copy this application folder to any location and add the path to the user command folders list if it is not already there.
-
Reference
-
Projects, Packages, and Applications
-
DadoFlow: A Git Workflow
-
Philosophy and Other Nonsense