cpbooster icon indicating copy to clipboard operation
cpbooster copied to clipboard

Clone contest in current directory using CLI argument

Open searleser97 opened this issue 3 years ago • 1 comments

The only possible caveat is that it always clones it to the contests directory instead of your current directory, probably this is what you meant?

If that is the case, then I think I will add a flag (option) to the command to be able to call it like this:

cpb clone --here

which will create source files and test cases files in your current directory.

Originally posted by @searleser97 in https://github.com/searleser97/cpbooster/issues/30#issuecomment-920070936

searleser97 avatar Oct 21 '21 17:10 searleser97

to always clone a contest in the current directory you can set the following option in the config file https://searleser97.github.io/cpbooster/docs/configuration#cloneincurrentdir-boolean

searleser97 avatar Jun 08 '22 20:06 searleser97