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

Build interface to extend CLI #225

Open
chipsenkbeil opened this issue Aug 2, 2023 · 0 comments
Open

Build interface to extend CLI #225

chipsenkbeil opened this issue Aug 2, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@chipsenkbeil
Copy link
Owner

Similar to the idea of creating an API (part of distant-core) to integrate with the distant server, it would be handy to have an interface for extending and executing the CLI.

Reasons for this:

  1. We can add something like distant server job <...> for use by distant-local. This way, it could fork a search process or (on windows) create a new process to do the searching. This avoids the need to run it internally.
  2. We could move the launch logic for ssh back into ssh (maybe) by having a programmatic way to spawn a distant server without needing to provide the raw string. A builder that we can guarantee matches the CLI would be preferred.
@chipsenkbeil chipsenkbeil added the enhancement New feature or request label Aug 2, 2023
@chipsenkbeil chipsenkbeil added this to the Backlog milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant