Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Default option for pull #17

Closed
infalmo opened this issue Jul 17, 2019 · 3 comments
Closed

Default option for pull #17

infalmo opened this issue Jul 17, 2019 · 3 comments
Labels
good first issue Good for newcomers

Comments

@infalmo
Copy link

infalmo commented Jul 17, 2019

Can a default option be added to pull only AC solutions from a given contest?

@xalanq xalanq closed this as completed Jul 18, 2019
@xalanq xalanq reopened this Jul 18, 2019
@xalanq
Copy link
Owner

xalanq commented Jul 18, 2019

cf pull [ac] [<contest-id>] [<problem-id>]
so you just need to use
cf pull ac <contest-id>

@xalanq xalanq closed this as completed Jul 18, 2019
@xalanq
Copy link
Owner

xalanq commented Jul 18, 2019

If you want to pull all contests' codes in Codeforces. You can write a simple script (bash, python, etc.) to iterate a number i from 1 to 2000 and execute cf pull ac $i

@xalanq xalanq added the good first issue Good for newcomers label Jul 18, 2019
@xalanq
Copy link
Owner

xalanq commented Jul 23, 2019

I don't want to put ac option as default.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants