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

feat(nlu-cli): config file with schema for both nlu and lang server #143

Merged
merged 5 commits into from
Nov 26, 2021

Conversation

franklevasseur
Copy link
Member

You can now use

  1. cli arguments
  2. json configuration file
  3. environment variables

cli overrides config file which overrides env variables

@franklevasseur franklevasseur merged commit fbc32c6 into cli_improvements Nov 26, 2021
franklevasseur added a commit that referenced this pull request Nov 26, 2021
* chore(nlu-cli): download is a subcommand of lang

* chore(nlu-cli): move default values outside of cli

* chore(nlu-cli): extract yargs parameters in separate files

* feat(nlu-cli): all cli arguments can be passed as env variables

* feat(nlu-cli): config file with schema for both nlu and lang server (#143)

* progress

* feat(nlu-cli): config file with schema for both nlu and lang server

* chore(nlu-server): remove support for NLU_SERVER_CONFIG env var

* chore: write config schemas in appdata cache

* minor fix

* fix github workflows

* fix default nlu server config

* chore: default config now has doc = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant