-
-
Notifications
You must be signed in to change notification settings - Fork 94
Add configuration file support for CLI #566
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
d507c79
Remove globals.ts and relocate its contents to appropriate modules
sij411 8d0f2f7
Add unified configuration module for CLI
sij411 dabbb49
Add --config and --ignore-config CLI options
sij411 5bde9db
Simplify config module to use Optique's config system
sij411 48fe66c
Add hierarchical config file loading with Optique integration
sij411 8cb928b
Add bindConfig integration for CLI options
sij411 14350a8
Add bindConfig integration for tunnel command
sij411 ac8ef43
Extend config schema and add more bindConfig integrations
sij411 5a84e7a
Add bindConfig for lookup and nodeinfo command options
sij411 7037417
Update Optique to 0.10.0-dev.347
sij411 76c5246
Update CLI config schema to match issue spec
sij411 71d801d
Bind all inbox command options with config
sij411 fb7dd38
Bind webfinger command options with config
sij411 236233c
Refactor userAgentOption
sij411 e800faa
Bind lookup command options with config
sij411 bfbaff5
Wrap userAgentOption with object and update usages
sij411 52928f8
Remove tunnel-specific config binding from tunnel command
sij411 7cdf585
Bind relay command options with config
sij411 0b769d5
Add configuration file documentation to CLI docs
sij411 8f19053
Update CLI tests for bindConfig compatibility
sij411 aa6b64f
Fix noFavicon config logic and update changelog command list
sij411 89338f7
Set webfinger command's default value to 5 and test codes
sij411 270ecb0
Fix package versions to 2.0.0
sij411 faae49b
Update optique version to dev.355
sij411 1f4ee9f
Fix unclosed tag in cli.md
sij411 6e66448
Add change log
sij411 26d63b9
Address PR review feedback for CLI configuration feature
sij411 f474b83
Show user-friendly error for invalid --config file
sij411 4db0707
Fix lookup command option parsing issues
sij411 0ac37f0
Use XDG-compliant paths for config and cache directories
sij411 4ce87ed
Address PR review feedback
sij411 efc2c93
Merge debug and config options into globalOptions
sij411 f5776d6
Upgrade Optique to v0.10.0-dev.376 to fix nested merge bug
sij411 53a2390
Add onError handler to runWithConfig to exit on parse errors
sij411 003ad63
Fix config path on change log
sij411 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.