Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load arguments from config file #2

Open
reaganmcf opened this issue Apr 8, 2021 · 1 comment
Open

Load arguments from config file #2

reaganmcf opened this issue Apr 8, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@reaganmcf
Copy link
Owner

Load configuration/arguments from a lightmon.toml file that would be located in the root directory of a project. This is a feature in Nodemon that is essential for complicated configurations.

@reaganmcf reaganmcf changed the title Config file support Load arguments from Config file Apr 8, 2021
@reaganmcf reaganmcf added this to the Version 0.2.0 milestone Apr 8, 2021
@reaganmcf reaganmcf added the enhancement New feature or request label Apr 8, 2021
@reaganmcf reaganmcf changed the title Load arguments from Config file Load arguments from config file Apr 8, 2021
@reaganmcf reaganmcf self-assigned this Apr 27, 2021
@reaganmcf
Copy link
Owner Author

I don't really know what syntax/format we want to use here. I just tried to create a basic config file off the top of my head and I got this:

[settings]
verbose = true
language = "shell"

[args]
script-path = "./script"
watch-patterns = ".c"

Although, I'm not really a fan because it doesn't feel intuitive. You have any ideas here @alayshahh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant