1
0
forked from Mirror/wren
Files
wren/test/process/arguments.wren
Bob Nystrom 71e2458a6c Add API for accessing command-line arguments.
- Add process module with Process class.
- Add "arguments" and "allArguments" methods.
- Docs for same.
- Support passing additional arguments to command line.
- Add "--help" support to command line.
2016-01-22 07:57:26 -08:00

7 lines
206 B
Plaintext

import "process" for Process
// No additional arguments are passed to the test.
System.print(Process.arguments) // expect: []
// TODO: Test passing additional args once we have an API to spawn a process.