Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Comments

Close side panel

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

Merged
munozemilio merged 7 commits intomainmicrosoft/botframework-cli:mainfrom
shuwan/allowExternalFuncInLgmicrosoft/botframework-cli:shuwan/allowExternalFuncInLgCopy head branch name to clipboard
Jun 24, 2021
Merged

Support passing in information about external functions in lg:analyze#1237
munozemilio merged 7 commits intomainmicrosoft/botframework-cli:mainfrom
shuwan/allowExternalFuncInLgmicrosoft/botframework-cli:shuwan/allowExternalFuncInLgCopy head branch name to clipboard

Conversation

@cosmicshuai
Copy link
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
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"?

Copy link
Contributor Author

@cosmicshuai cosmicshuai May 18, 2021

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

packages/lg/test/commands/lg/analyze.test.ts Outdated Show resolved Hide resolved
@munozemilio munozemilio requested a review from scheyal May 17, 2021 22:02
@munozemilio
Copy link
Contributor

@scheyal could you please approve from PM side?

Copy link

@chrimc62 chrimc62 left a comment

Choose a reason for hiding this comment

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

:shipit:

@munozemilio munozemilio merged commit 132e0cd into main Jun 24, 2021
@munozemilio 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.