Retoor software development Projects Research SearchXNG
Register Sign In

10 lines
176 B
C
Raw Normal View History

feat: add process module with arguments and allArguments static methods - Introduce new 'process' module exposing a Process class with foreign static methods for accessing command-line arguments. - Implement processSetArguments in main.c to store argc/argv, and processAllArguments in process.c to return them as a Wren list. - Add --help flag support to CLI, printing usage with optional arguments. - Include documentation for Process.arguments and Process.allArguments, plus module index and template updates. - Register process module in modules.c and add Xcode project references for new source files. - Add test scripts for allArguments and arguments, verifying list type, count, and expected values.
2016-01-22 16:57:26 +01:00
#ifndef process_h
#define process_h
#include "wren.h"
// Stores the command line arguments passed to the CLI.
void processSetArguments(int argc, const char* argv[]);
#endif
Reference in New Issue Copy Permalink
c5e1c2e57f
wren/src/module/process.h
Response time: 40ms
Mail Licenses API