question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`npx @backstage/create-app` should accept output path as an option

See original GitHub issue

Feature 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:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cmpaddencommented, Oct 4, 2021

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.

0reactions
OrkoHuntercommented, Oct 5, 2021

No worries @sadavarterohit !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found