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

run --interactive #61

Closed
felixlohmeier opened this issue Oct 5, 2022 · 1 comment · Fixed by #68
Closed

run --interactive #61

felixlohmeier opened this issue Oct 5, 2022 · 1 comment · Fixed by #68
Assignees
Labels
enhancement New feature or request

Comments

@felixlohmeier
Copy link
Member

felixlohmeier commented Oct 5, 2022

bash --rcfile <(
history -a
set +o history
cat ~/.bashrc
cat << 'EOF'
PS1="(orcli) [\u@\h \W]\$ "
eval "$(orcli completions)"
echo '================================================================'
echo 'Interactive Bash shell with OpenRefine running in the background'
echo 'Use the "orcli" command and tab completion to control OpenRefine'
echo 'Type "history -a FILE" to write out your session history'
echo 'Type "exit" or CTRL-D to destroy temporary OpenRefine workspace'
echo '================================================================'
EOF
set -o history
) -i
@felixlohmeier felixlohmeier added the enhancement New feature or request label Oct 5, 2022
@felixlohmeier felixlohmeier self-assigned this Oct 5, 2022
@felixlohmeier felixlohmeier added this to the 0.1.0 proof of concept milestone Oct 6, 2022
@felixlohmeier felixlohmeier changed the title batch --interactive batch --debug Oct 15, 2022
@felixlohmeier felixlohmeier changed the title batch --debug batch --interactive Oct 16, 2022
@felixlohmeier felixlohmeier reopened this Oct 16, 2022
@felixlohmeier
Copy link
Member Author

on reconsideration, the flag --interactive seems more precise than --debug. In addition, a forced default interactive mode is probably counterproductive, because it can lead to a hang up in automatic processes.

@felixlohmeier felixlohmeier changed the title batch --interactive run --interactive Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant