mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Default cmd args
This commit is contained in:
parent
0c7811411e
commit
54706192d2
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ require "option_parser"
|
|||
module Ameba::Cli
|
||||
extend self
|
||||
|
||||
def run(args)
|
||||
def run(args = ARGV)
|
||||
opts = parse_args args
|
||||
config = Config.load opts.config, opts.colors?
|
||||
config.globs = opts.globs
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
require "./ameba/cli/cmd"
|
||||
|
||||
Ameba::Cli.run(ARGV)
|
||||
Ameba::Cli.run
|
||||
|
|
Loading…
Reference in a new issue