We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to spin until a file descriptor changes.
I have already implemented it, but want to see if you guys want any changes to how you call it.
gum spin --file-change=/tmp/c1 " -- ""
Usage: gum spin <command> ... [flags] ... -f, --file-change=STRING Spin until file descriptor changes. (Command not run.)
take over the command section with the path gum spin --file-change " -- "/path/to/file"
gum spin --file-change " -- "/path/to/file"
Usage: gum spin <command | path> ... [flags] ... -f, --file-change Spin until file descriptor changes. (Provide path as arg.)
workaround: install fswatch and call it gum spin -- fswatch -1 /tmp/c1
gum spin -- fswatch -1 /tmp/c1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to spin until a file descriptor changes.
I have already implemented it, but want to see if you guys want any changes to how you call it.
Option A (as implemented):
gum spin --file-change=/tmp/c1 " -- ""
current help
Option B:
take over the command section with the path
gum spin --file-change " -- "/path/to/file"
possible help
Option C
workaround: install fswatch and call it
gum spin -- fswatch -1 /tmp/c1
The text was updated successfully, but these errors were encountered: