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

Single + Default Command #1067

Open
danvega opened this issue May 13, 2024 · 3 comments
Open

Single + Default Command #1067

danvega opened this issue May 13, 2024 · 3 comments
Labels
status/need-triage Team needs to triage and take a first look

Comments

@danvega
Copy link

danvega commented May 13, 2024

What if my application is only going to have a single command? I would love the ability to define a configuration property that says I only have a single command and here is what it is. When I run the program I am dropped into the shell and whatever I type is now the argument to the single default command.

This came up when building a Spring Shell + Spring AI application that interfaces with Open AI's GPT-4. I have included the rep for reference below.

https://github.com/danvega/sbdocs

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label May 13, 2024
@danvega danvega changed the title Default Command Single + Default Command May 13, 2024
@helloshisheng
Copy link

@jvalkeal
Copy link
Contributor

jvalkeal commented May 23, 2024

Ups, linked and closed wrong issue

@jvalkeal jvalkeal reopened this May 23, 2024
@jvalkeal
Copy link
Contributor

Little clarification when I discussed with Dan. This is about interactive shell and having that one command there without having a need to define that command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-triage Team needs to triage and take a first look
Projects
None yet
Development

No branches or pull requests

3 participants