Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Support passing in information about external functions in lg:analyze - #1237

Merged
Emilio Munoz (munozemilio) merged 7 commits into
mainfrom
shuwan/allowExternalFuncInLg
Jun 24, 2021
Merged

Emilio Munoz (munozemilio) merged 7 commits into
mainfrom
shuwan/allowExternalFuncInLg

Conversation

@cosmicshuai

Copy link
Copy Markdown
Contributor

closes: #1220
With --external-functions flag, user can pass in external functions to lg:analyze command. This will help users avoid has no evaluator error


Helper.checkInputAndOutput(lgFilePaths)
if (flags['external-functions']) {
const functionList = flags['external-functions'].split(',')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work for "function1,function2" as well as "function1 , function2"?

@cosmicshuai Shuai Wang (cosmicshuai) May 18, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, "function1 , function2", the cli will take ", function2" as another argument

@munozemilio

Copy link
Copy Markdown
Contributor

Eyal (@scheyal) could you please approve from PM side?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@munozemilio
Emilio Munoz (munozemilio) deleted the shuwan/allowExternalFuncInLg branch June 24, 2021 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lg:analyze should allow passing in information about external functions

4 participants