@backstage/cli

  • Version 0.24.0
  • Published
  • 520 kB
  • 108 dependencies
  • Apache-2.0 license

Install

npm i @backstage/cli
yarn add @backstage/cli
pnpm add @backstage/cli

Overview

CLI for developing Backstage plugins and apps

Index

Functions

function createRouter

createRouter: (options: RouterOptions) => Promise<express.Router>;

    Interfaces

    interface RouterOptions

    interface RouterOptions {}

      property logger

      logger: Logger;

        Namespaces

        namespace *.bmp

        module '*.bmp' {}

          variable src

          const src: string;

            namespace *.css

            module '*.css' {}

              variable classes

              const classes: { readonly [key: string]: string };

                namespace *.eot

                module '*.eot' {}

                  variable src

                  const src: string;

                    namespace *.gif

                    module '*.gif' {}

                      variable src

                      const src: string;

                        namespace *.icon.svg

                        module '*.icon.svg' {}
                        • Example 1

                          import SvgIcon from '@material-ui/core/SvgIcon';
                          const MyIcon = () => (
                          <SvgIcon>
                          <g>
                          <path d="..." />
                          </g>
                          </SvgIcon>
                          )

                          Deprecated

                          support for .icon.svg extensions are being removed, inline the SVG elements in a MUI SvgIcon instead.

                        variable Icon

                        const Icon: ComponentType<SvgIconProps>;
                        • Example 1

                          import SvgIcon from '@material-ui/core/SvgIcon';
                          const MyIcon = () => (
                          <SvgIcon>
                          <g>
                          <path d="..." />
                          </g>
                          </SvgIcon>
                          )

                          Deprecated

                          support for .icon.svg extensions are being removed, inline the SVG elements in a MUI SvgIcon instead.

                        namespace *.jpeg

                        module '*.jpeg' {}

                          variable src

                          const src: string;

                            namespace *.jpg

                            module '*.jpg' {}

                              variable src

                              const src: string;

                                namespace *.md

                                module '*.md' {}

                                  variable src

                                  const src: string;

                                    namespace *.module.css

                                    module '*.module.css' {}

                                      variable classes

                                      const classes: { readonly [key: string]: string };

                                        namespace *.module.sass

                                        module '*.module.sass' {}

                                          variable classes

                                          const classes: { readonly [key: string]: string };

                                            namespace *.module.scss

                                            module '*.module.scss' {}

                                              variable classes

                                              const classes: { readonly [key: string]: string };

                                                namespace *.png

                                                module '*.png' {}

                                                  variable src

                                                  const src: string;

                                                    namespace *.sass

                                                    module '*.sass' {}

                                                      variable classes

                                                      const classes: { readonly [key: string]: string };

                                                        namespace *.scss

                                                        module '*.scss' {}

                                                          variable classes

                                                          const classes: { readonly [key: string]: string };

                                                            namespace *.svg

                                                            module '*.svg' {}

                                                              variable src

                                                              const src: string;

                                                                namespace *.ttf

                                                                module '*.ttf' {}

                                                                  variable src

                                                                  const src: string;

                                                                    namespace *.webp

                                                                    module '*.webp' {}

                                                                      variable src

                                                                      const src: string;

                                                                        namespace *.woff

                                                                        module '*.woff' {}

                                                                          variable src

                                                                          const src: string;

                                                                            namespace *.woff2

                                                                            module '*.woff2' {}

                                                                              variable src

                                                                              const src: string;

                                                                                namespace *.yaml

                                                                                module '*.yaml' {}

                                                                                  variable src

                                                                                  const src: string;

                                                                                    Package Files (3)

                                                                                    Dependencies (108)

                                                                                    Dev Dependencies (31)

                                                                                    Peer Dependencies (4)

                                                                                    Badge

                                                                                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@backstage/cli.

                                                                                    • Markdown
                                                                                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@backstage/cli)
                                                                                    • HTML
                                                                                      <a href="https://www.jsdocs.io/package/@backstage/cli"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>