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

[feature]: CLI Multiple View/service Creation In one command #917

Open
Youcef-Goudjal opened this issue Mar 25, 2023 · 3 comments · May be fixed by Stacked-Org/cli#55
Open

[feature]: CLI Multiple View/service Creation In one command #917

Youcef-Goudjal opened this issue Mar 25, 2023 · 3 comments · May be fixed by Stacked-Org/cli#55
Labels
Improvement An issue to improve existing functionality new feature Requires planning and detailed comments of what will be done to build this

Comments

@Youcef-Goudjal
Copy link

Is your feature request related to a problem? Please describe.

No response

Describe the solution you would like

I suggest adding a feature to the CLI tool that allows users to create multiple views or services in one command.
The proposed feature would allow users to specify number of views or services they wish to create and provide the necessary details for each view or service in a single command.

Additional Context

No response

@FilledStacks
Copy link
Contributor

That's a good request. Definitely would be useful to add.

@FilledStacks FilledStacks added Improvement An issue to improve existing functionality new feature Requires planning and detailed comments of what will be done to build this labels Mar 28, 2023
@FilledStacks
Copy link
Contributor

This is going into the new improvements project! We need it in our projects 😄

@Pebkac03
Copy link

Pebkac03 commented Dec 11, 2024

Currently working on it and making some progress. I want to open up for discussion on the following two points:

  1. How to separate multiple views. Currently leaning toward just a space (e.g: stacked create view login cats dogs --some-arg) to match how dart pub add works with multiple packages since devs should be familiar with it.
  2. How to handle workingDir. workingDir is handled by checking if there are more than one non-flag/option arguments and if so setting the name of the view to the first one and the workingDir to the second (and ignoring the rest). This obviously won't work so we either need to change workingDir to an option (--working-dir path/to/template) or add some way of separating the workingDir from the names.

@Pebkac03 Pebkac03 linked a pull request Jan 12, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement An issue to improve existing functionality new feature Requires planning and detailed comments of what will be done to build this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants