PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Config default path

Open alexanderrock opened this issue 10 years ago • 3 comments

Expected Behavior

python pokecli.py -cf config.json

Actual Behavior

python pokecli.py -cf configs/config.json

Steps to Reproduce

try to start bot without the subdirectory configs/*

default lookup for configs should be in the configs folder and the config subdirectory should not needed to be passed

alexanderrock avatar Jul 25 '16 14:07 alexanderrock

Just do: python pokecli.py It's already searching in the configs folder

python pokecli.py
[19:26:31] PokemonGO Bot v1.0
[19:26:31] No config argument specified, checking for /configs/config.json
[19:26:31] Configuration initialized

Mello-Yello avatar Jul 25 '16 17:07 Mello-Yello

always good to specify configs path, but i see your point

fredrik-hellmangroup avatar Jul 25 '16 21:07 fredrik-hellmangroup

i think i'ts quite common to specify the path relative to your current location, so for me as a daily Linux user, the expected behavior is ./pokecli.py -cf configs/config.json

i think this issue can be closed

koter84 avatar Aug 02 '16 06:08 koter84