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

Add CLI flag to exit when dat is in sync / done downloading #882

Open
cinnamon-bun opened this issue Oct 21, 2017 · 1 comment
Open

Add CLI flag to exit when dat is in sync / done downloading #882

cinnamon-bun opened this issue Oct 21, 2017 · 1 comment

Comments

@cinnamon-bun
Copy link

@cinnamon-bun cinnamon-bun commented Oct 21, 2017

It would be nice to have a flag that caused dat to quit when done downloading, instead of waiting forever for more updates.

This would apply to dat sync, dat clone, dat pull, and the shortcuts dat <link> and dat <dir>.

Seems like there once were related flags --exit, --no-watch, --no-live? But these are not listed in the command line help now.

(dat clone does exit after it finishes the first download of an archive. On subsequent runs it waits forever for updates.)

@joehand joehand added Backlog and removed Backlog labels Nov 13, 2017
@joehand
Copy link
Member

@joehand joehand commented Nov 13, 2017

--exit should still work. dat clone and dat pull should exit when updated, unless there aren't any remote updates. Right now --exit and pull/clone do not exit if the remote isn't changed, can track those bugs in #892 and #810.

We can keep this open to add --exit to the help info.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.