Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] submit by session #149

Open
yishanhe opened this issue Jan 2, 2019 · 0 comments
Open

[Feature Request] submit by session #149

yishanhe opened this issue Jan 2, 2019 · 0 comments

Comments

@yishanhe
Copy link

yishanhe commented Jan 2, 2019

"submit by session" is particularly useful, when a user wants to manage the submits under different sessions (e.g., by different tags, or by different programming languages, etc.)

To implement this feature, we need to add one more flag under the submit command to specify the session we want to submit against.

  -s, --session Targeted session                                 [string][default:""] 

In order not to disrupt the current active session set by the cli or on the web, we need to

  1. retrieve the current active session
  2. enable the target session
  3. submit the code
  4. switch back to the previous session

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant