cli: add a `backstage-cli info` command
See original GitHub issueFeature Suggestion
Similarly to the Tauri CLI, add an info
command to backstage-cli
that lists at least
- operating system
- node version
- npm version
- yarn version (even if this is expected to be the pinned one in the repo - still useful to look for deviations)
- the version of the currently running backstage-cli
- whether the current repo is a clone or a fork or a create-app generated repo?
- more? Perhaps actual resolved versions of backstage libraries that the app and backend packages build against?
Context
When helping users with issues, we very often ask for info like this. It would be very useful to be able to tell users to paste the output of this command as-is.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Commands · Backstage Software Catalog and Developer ...
This page lists all commands provided by the Backstage CLI, what they're for, and where to use them. help. This command displays a...
Read more >@backstage/cli - npm
Start using @backstage/cli in your project by running `npm i ... There are 7 other projects in the npm registry using @backstage/cli.
Read more >Add a backend:bundle command to the CLI #3347 - GitHub
Feature Suggestion Right now the only simply way to deploy a production version of the backend is by using the backend:build-image command.
Read more >@backstage/cli - NPM Package Overview - Socket - Socket.dev
This package provides a CLI for developing Backstage plugins and apps. Installation. Install the package via Yarn: yarn add @backstage/cli. Development. For ...
Read more >Dependencies | @backstage/cli | npm - Open Source Insights
arrow_right @babel/core. 7.20.5 Notes
Version 7.20.5 Published November 28...
arrow_right @babel/plugin‑transform‑modules‑commonjs. 7.19.6 Notes
Version 7.19.6 Published October 20, 20...
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
@lmasiero You’re running backstage-cli from a different place than the one on docs https://backstage.io/docs/deployment/docker#multi-stage-build
yarn --cwd packages/cli/bin backstage-cli ...
vsyarn --cwd packages/backend backstage-cli
@orihomie, had the same problem, what did the trick for me was adding following line: