Skip to content

Add --exec option - #9

Open
dave-cope wants to merge 4 commits into
fityannugroho:mainfrom
dave-cope:add-exec-option
Open

dave-cope wants to merge 4 commits into
fityannugroho:mainfrom
dave-cope:add-exec-option

Conversation

@dave-cope

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • I have read the documentation.
  • I have read and followed the Contributing Guidelines.
  • I have included a pull request description of my changes.
  • I have included the necessary changes to the documentation.
  • I have added tests to cover my changes.

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • ..... (describe the other type)

What is the new behavior?

This PR introduces a new --exec option to the script. This option allows an alternative command to be specified (the default command is opencode). The --exec option may be useful for users that have pre-existing scripts for launching opencode with specific options. The new option may also be useful for users who want to interactively run commands from a shell within a secure environment (e.g. to verify certain folders are not accessible, or that certain files/folders are read-only).

@fityannugroho

Copy link
Copy Markdown
Owner

Please resolve the merge conflict first @dave-cope

# Conflicts:
#	opencodebox
@dave-cope

Copy link
Copy Markdown
Contributor Author

Please resolve the merge conflict first @dave-cope

No problem, I have resolved the merge conflicts for the PR.

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

Successfully merging this pull request may close these issues.

2 participants