mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add support for parsing command line parameters from other sources than ARGV (#483)
This commit is contained in:
parent
50f48509fd
commit
a5d8df7382
3 changed files with 18 additions and 13 deletions
|
@ -51,7 +51,7 @@ describe "Config" do
|
|||
test_option = opt
|
||||
end
|
||||
end
|
||||
Kemal::CLI.new
|
||||
Kemal::CLI.new ARGV
|
||||
test_option.should eq("FOOBAR")
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue