Comments (5)
I partially agree with you. But we should remember not only commands but also the parameters of commands. Both of them should be simpler.
cf pull --user=xalanq --since=01/01/1970
cf clone xalanq
I think the latter is simpler.
On the other hand, I think pulling all codes from Codeforces is not a high frequency requirement. If someone want to do that, just see the usage.
from cf-tool.
By default, if you just use cf pull
, it will not pull all your codes (It will detect the parameters from the path). So if the tool use cf pull
to clone all codes, it has to add a new parameter or something else. So I decide to add new command clone
just like git clone
:). What do you think?
from cf-tool.
Why not just add a new argument to cf pull
, like cf pull user=xalanq ...
? By default, let user be the currently logged in user. Thoughts?
from cf-tool.
You could make cf pull in such a way that if no parameter is provided, pull all submissions of a user. Also, @GaurangTandon s idea could be implemented.
from cf-tool.
I am seeing two things here:
- cloning another user's codes (you said "But it cannot clone other's codes")
- cloning all codes written by a user (you said "By default, if you just use cf pull, it will not pull all your codes")
For each of these we could add two new parameters to cf pull
:
user=<username>
- user whose codes you want to pullsince=<date>
- specify date starting from which you want to pull all the codes
Specifying since=01/01/1970
would let user, for example, pull all their codes.
I am a bit hesitant about cf clone
because it will complicate things for the end user (another command to remember). Whereas in most cases user can ignore the user
and since
parameters and cf pull
will do what they want to (pull codes related to a particular problem).
But these are just suggestions, I am happy to discuss further :)
from cf-tool.
Related Issues (20)
- Could you please add more placeholder? (New feature request)
- Problem with cf list command HOT 1
- don't wanna create new directory
- Cannot find csrf HOT 17
- Getting `cf test` to work with buffered output in Go. HOT 1
- Cannot find csrf HOT 2
- cf tool panic HOT 2
- cf test not working HOT 1
- Installation commands outdated in README.md HOT 1
- input sample data parse error HOT 3
- codeforce have new version HOT 1
- It doesn't work on new Codeforces. HOT 4
- The default configuration template of the cf config command will always appear in the same interface and will not go to the next command. I don't know the reason, I can only view other people's templates to configure cf config. My question is asking to expose cf config, how can I fix it?
- Cannot find csrf when using cf tool HOT 4
- Can't use default proxy from environment
- Wrong test data! HOT 7
- Warning:Choose valid language HOT 3
- Error while use cf test
- captcha
- There are multiple languages that match the File HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-tool.