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

shiny create drop --template parameter #1670

Open
gadenbuie opened this issue Sep 5, 2024 · 1 comment
Open

shiny create drop --template parameter #1670

gadenbuie opened this issue Sep 5, 2024 · 1 comment

Comments

@gadenbuie
Copy link
Collaborator

gadenbuie commented Sep 5, 2024

template should not require the --template flag

# 👍 😊
shiny create dashboard
shiny create chat-ai-ollama

# 👎 😥
shiny create --template dashboard
shiny create --template chat-ai-ollama
@gadenbuie
Copy link
Collaborator Author

We have

shiny create myapp

in our docs, which seems like it would create a the basic-app template in myapp?

image

But shiny create myapp doesn't work and I think most people would rather use the template id for shiny create (which then populates the directory) than to have the primary argument of shiny create be the name of the directory.

Those docs would become

shiny create basic-app
shiny export basic-app site

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

No branches or pull requests

1 participant