Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Enable configuration.toml support for plugin commands #189

Answered by HindujaB
prabushi asked this question in Ideas
Discussion options

You must be logged in to vote

Ballerina currently supports the environment variable and the current working directory to locate the Config.toml file.
Due to the complexity between user defined arguments and ballerina arguments, we kept only the above methods.

And IIANM, we log the working directory when running vscode plugin commands at the output terminal like

executing command: bal run at /home/hinduja/FooProject/main

With proper documentations provided, wouldn't it be expected from the user to have the Config.toml at the required location?
In this case, the project root or using the env variable.

@manuranga @warunalakshitha What do you think?

But, we still don't log the execution directory for Ballerina debugger, …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@manuranga
Comment options

@HindujaB
Comment options

@manuranga
Comment options

@prabushi
Comment options

@HindujaB
Comment options

Answer selected by prabushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants