Loading...
Searching...
No Matches
by::fileFlag Class Reference

Flag for specifying a frontend source code file to load and execute. More...

#include <fileFlag.hpp>

Inheritance diagram for by::fileFlag:

Public Member Functions

 fileFlag (cli &c)
 
const nchargetName () const override
 
const nchargetDescription () const override
 

Protected Member Functions

const strings & _getRegExpr () const override
 
res _onTake (const flagArgs &tray) const override
 

Detailed Description

Flag for specifying a frontend source code file to load and execute.

This flag allows users to provide a file path containing frontend source code, which will then be parsed and executed by the interpreter. It typically consumes one additional argument: the path to the file.

// Example usage:
// frontend --file "my_script.frontend"

The documentation for this class was generated from the following file:
to Top