cd into contest directory automatically after parsing
It would be nice to cd into the contest directory after parsing. For now, I am using a bash alias to do this but It would be nice if it's integrated into the tool itself
but what if a user wanted to solve another problem first before A?
but what if a user wanted to solve another problem first before A?
I said contest directory not problem directory. For example cf parse 1400 Automatically cd's to cf/contest. I don't see a point why it's not implemented yet
ok, I will try to implement this
@xalanq can i work on this issue?
will this work? :
adding following line in cf-tool/client/parse.go :
os.Chdir(./problemID)
@Siddhant-K-code I already tried to do that but it turns out it is not possible to change the directory from Go file. See if you can make it work
In cpbooster I added this feature by opening a new terminal and closing the previous terminal (optionally). A similar approach can be used here. Because as of now, it is not possible to modify the current path of a terminal from some other program :(