1.13.20 • Published 7 months ago

@ngm-dev/cli v1.13.20

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago
npm install @ngm-dev/cli@latest -g

CLI for ui.angular-material.dev. Used to download code from ui.angular-material.dev. Report bugs at Angular-Material-Dev/community

Commands

add

Add blocks to your project.

Usage

@ngm-dev/cli add [options] <blocks...>

Options

  • -E, --expand: Expands the diff so you see the entire file.
  • --max-unchanged [number]: Maximum unchanged lines that will show without being collapsed. (default: 3)
  • -A, --allow: Allow @ngm-dev/cli to download code from the provided repo.
  • -y, --yes: Skip confirmation prompt.
  • --verbose: Include debug logs.
  • --cwd [path]: The current working directory. (default: ./)
  • --skip-asking-for-dependencies: Skip asking for dependency installation.

auth

Provide a token to access https://ui.angular-material.dev

Usage

@ngm-dev/cli auth [options] [service]

Options

  • --logout: Execute the logout flow.
  • --force: Force the logout flow. Removes all the tokens for http. Useful when you create a new token or facing issues with the current token.
  • --token [token]: The token to use for authenticating to this service. Get one from https://ui.angular-material.dev/account/tokens
  • --username [username]: The username (or email) to use for authenticating to this service.
  • --cwd [path]: The current working directory. (default: ./)
  • --verbose: Verbose output.

exec

Execute a block as a script.

Usage

@ngm-dev/cli exec [options] [script]

Options

  • -A, --allow: Allow @ngm-dev/cli to download code from the provided repo.
  • --verbose: Include debug logs.
  • --cwd [path]: The current working directory. (default: ./)

init

Initializes your project with a configuration file. This command will also run setup command to complete the setup of your project.

Usage

@ngm-dev/cli init [options]

Options

  • --no-watermark: Will not add a watermark to each file upon adding it to your project.
  • --tests: Will include tests with the blocks.
  • --formatter <formatter>: What formatter to use when adding or updating blocks.
  • -P, --project: Takes you through the steps to initialize a project. (default: true)
  • -E, --expand: Expands the diff so you see the entire file.
  • --max-unchanged [number]: Maximum unchanged lines that will show without being collapsed. (default: 3)
  • -y, --yes: Skip confirmation prompt.
  • --cwd [path]: The current working directory. (default: ./)
  • --verbose: Verbose output.

update

Update blocks to the code in the remote repository.

Usage

@ngm-dev/cli update [options] [blocks...]

Options

  • --all: Update all installed components.
  • -E, --expand: Expands the diff so you see the entire file.
  • --max-unchanged [number]: Maximum unchanged lines that will show without being collapsed. (default: 3)
  • -n, --no: Do update any blocks.
  • -A, --allow: Allow @ngm-dev/cli to download code from the provided repo.
  • -y, --yes: Skip confirmation prompt.
  • --verbose: Include debug logs.
  • --cwd [path]: The current working directory. (default: ./)
  • --skip-asking-for-dependencies: Skip asking for dependency installation.

setup

Setup your project to be ready to use blocks from https://ui.angular-material.dev. This command will do following:

  • Creates postcssrc.json
  • Installs tailwindcss and @angular/material
  • Adds needed styles in angular.json
  • Configures Material Symbols

Usage

@ngm-dev/cli setup [options]

Options

  • --verbose: Include debug logs.
  • --cwd [path]: The current working directory. (default: ./)
1.13.20

7 months ago

1.13.19

7 months ago

1.13.18

7 months ago

1.13.17

7 months ago

1.13.16

7 months ago

1.13.15

7 months ago

1.13.14

7 months ago

1.13.13

7 months ago

1.13.12

7 months ago

1.13.11

7 months ago

1.13.10

7 months ago

1.13.9

7 months ago

1.13.8

7 months ago

1.13.7

7 months ago

1.13.6

7 months ago

1.13.5

7 months ago

1.13.4

7 months ago

1.13.3

7 months ago

1.13.2

7 months ago

1.13.1

7 months ago

1.13.0

7 months ago

1.12.14

7 months ago

1.12.13

7 months ago

1.12.12

7 months ago

1.12.11

7 months ago

1.12.10

7 months ago

1.12.9

7 months ago

1.12.8

7 months ago

1.12.7

8 months ago

1.12.6

8 months ago

1.12.5

8 months ago

1.12.4

8 months ago

1.12.3

8 months ago

1.12.2

8 months ago

1.12.1

8 months ago

1.12.0

8 months ago

1.11.1

8 months ago

1.11.0

8 months ago

1.10.2

8 months ago

1.10.1

8 months ago

1.10.0

8 months ago

1.9.0

8 months ago

1.8.2

8 months ago

1.8.1

8 months ago

1.8.0

8 months ago

1.7.2

8 months ago

1.7.1

8 months ago

1.7.0

8 months ago

1.6.0

8 months ago

1.5.0

8 months ago

1.4.3

8 months ago

1.4.2

8 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.0

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.0.1

9 months ago