Feature request:

Add a command-line option to pass a first command to the interpreter.

For example:

$ apl --init ')LOAD foo'

Note the ways in which the example differs from $ apl -f foo.apl :

- the file is loaded from the workspace directory
- no foo.apl.log file is created
- the contents of foo.apl are not echoed to the session during loading

Alternative:

There may be other uses for --init 'command', but )LOAD and )COPY are
the most obvious. An alternative implementation would be to wire in just
those two cases, as in:

$ apl --load foo
$ apl --copy foo

Again, the file passed to --load or --copy would be resolved relative to
the workspace (i.e. )LIB 0) path.



Reply via email to