`npx @backstage/create-app` should accept output path as an option
See original GitHub issueFeature Suggestion
If I run npx @backstage/create-app .
the new backstage app’s files should be created at my current location, rather than inside a new directory with the name of my app.
So instead of
my-app/
packages/
README.md
the tree should be
packages/
README.md
If the output path is missing, the current behavior should remain the same.
Possible Implementation
Accept an optional [PATH]
as an argument of the command. https://github.com/backstage/backstage/blob/e21551c90ac88e549b2b113fc8f0c386576fa5f2/packages/create-app/src/index.ts#L25
Examples of [PATH]
can be .
or my-dir/
or /absolute/path/in/filesystem
Context
I usually create a git repository before running create-app scripts. It’s a bit annoying to move files later, if I want the output files to be in the root of the repository.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
yarn install fails on macOS with `env: python: No such file or ...
After npx @backstage/create-app I have a working backstage installation. Actual Behavior. % npx @backstage/create-app ? Enter a name for the app ...
Read more >Getting Started · Backstage Software Catalog and Developer ...
Running the command below will install Backstage. The wizard will create a subdirectory inside your current working directory. npx @backstage/create-app. The ...
Read more >Running the Backstage service catalog with Docker Compose
In this tutorial, we're going to build and run a basic Backstage application with Docker Compose. The application will be able to store...
Read more >Qiime2 importing demultiplex data (1/1) Missing option
And I'm getting the following error : There was a problem with the command: (1/1) Missing option '--output-path'. (qiime2) [email protected] ...
Read more >Using Scheduled TreeSize Tasks > Command Line Options
The Professional Edition of TreeSize accepts command line options enabling ... The list will contain only the full paths of the search results...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d be happy to help out with this one. Let me know if you’d like to collaborate @sadavarterohit!
In the meantime, I’ll take a look at the code and attempt to come up with an implementation.
No worries @sadavarterohit !