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

Implement config file #104

Open
wants to merge 37 commits into
base: freeze-feat-andreas
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b1aa92f
Add config example
Gigas002 Mar 22, 2024
2ca3cc3
Merge pull request #2 from waycrate/freeze-feat-andreas
Gigas002 Mar 27, 2024
86a0522
Update config standard
Gigas002 Mar 27, 2024
27ed084
Add toml and serde dependencies
Gigas002 Mar 27, 2024
fd872fa
Derive from Serialize and Deserialize for EncodingFormat
Gigas002 Mar 27, 2024
33b905a
Add config module for compilation
Gigas002 Mar 27, 2024
dab0544
Add config parameter for cli
Gigas002 Mar 27, 2024
602cae2
Add config loading with dirs dependency
Gigas002 Mar 27, 2024
1b988d7
Make clipboard arg optional, defaulting to config value
Gigas002 Mar 27, 2024
d77a923
Introduce filename_format cli arg
Gigas002 Mar 27, 2024
d35e1ad
Modify get_default_file_name fn to take filename_format parameter
Gigas002 Mar 27, 2024
81655a7
Fallback encoding value to config, and then to default
Gigas002 Mar 27, 2024
ebdbb1b
Introduce log configuration
Gigas002 Mar 27, 2024
dcc70bb
Simplify config loading a bit
Gigas002 Mar 27, 2024
ae327c4
Make current_dir default directory
Gigas002 Mar 27, 2024
07081f4
Add missing webp from_str impl for EncodingFormat
Gigas002 Mar 27, 2024
bceb113
Introduce utils::get_full_file_name fn
Gigas002 Mar 27, 2024
0cff93d
Sort use statements with cargo fmt
Gigas002 Mar 27, 2024
ed33e00
Clipboard default to true
Gigas002 Mar 27, 2024
c446b68
Use log_level config variable
Gigas002 Mar 27, 2024
9818d6e
Update cli docs a bit
Gigas002 Mar 27, 2024
cc92489
Whoops, remove unneeded tracing_subscriber
Gigas002 Mar 27, 2024
3d7dc98
Merge branch 'freeze-feat-andreas' into config-toml
Gigas002 Mar 28, 2024
1ebcbff
Rename display in config to output
Gigas002 Mar 28, 2024
895bcf7
Rename output file related OUTPUT parameter to FILE
Gigas002 Mar 28, 2024
ef9e96e
Separate stdout and file options
Gigas002 Mar 28, 2024
8ac93d7
Handle HOME env var/tilde in config paths with shellexpand
Gigas002 Mar 28, 2024
8d75acf
Fix comments for cli
Gigas002 Apr 1, 2024
9f87c12
Make log_level property of screenshot
Gigas002 Apr 1, 2024
da1aa22
Add Config::get_default_path fn
Gigas002 Apr 1, 2024
3cce69d
Some options fixes
Gigas002 Apr 1, 2024
629d380
Fix file cli file argument behavior
Gigas002 Apr 1, 2024
60f61a0
Update config.toml
Gigas002 Apr 1, 2024
175398f
Rename screenshot to base
Gigas002 Apr 2, 2024
aa4fdab
Rename fs to file
Gigas002 Apr 2, 2024
78fb18a
cargo fmt + clippy
Gigas002 Apr 2, 2024
8669428
Fix base.fs->file naming
Gigas002 Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading