YukiHelper.Config (YukiHelper v0.1.0) View Source
Loads configuration files.
Loading configuration files are the following:
~/.yukihelper.config.yml
~/.config/yukihelper/.config.yml
./yuki_helper.config.yml
If there are multiple configuration filles, any same option is overridden.
Configuration File
# .yuki_helper.default.config.yml
testcase:
# Positive integer value more than 10.
# If `bundile` is 100, directory of testcase for problem 10 is `testcase/100/p10`.
bundle: null
# Root direcotry of testcases to download
directory: "testcase"
# Prefix of testcase `testcase/p10` and source code `lib/p10.ex`
prefix: "p"
yukicoder:
# Access Token for Yukicoder. Be careful to treat.
access_token: "your access token"
Link to this section Summary
Link to this section Types
Specs
Link to this section Functions
Specs
get_target_files() :: [Path.t()]
Returns files to load.
Specs
returns headers
for HTTPoison
.
Specs
Specs
Loads a configuration file.
Specs
load_all() :: t()
Loads all configuration files with ignoring any error.
Merges two configurations.
Prioritizes to select a not nil
value as well as possible.
Specs
new() :: t()
Specs
Specs
returns options
for HTTPoison
.