2.0.1 • Published 3 years ago

@pota/cli v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@pota/cli · version downloads

Create, extend and run CLI applications.

Install

npm install @pota/cli

Usage

If your project already has local commands or a scripts package setup. You can call those commands with the pota binary:

npx pota <insert-command>

unsure what commands are available?

run pota with the --help argument to see the loaded commands

npx pota --help

unsure what options are available for command <insert-command> ?

run pota <insert-command> with the --help argument to see available options for the command

npx pota <insert-command> --help

If your project does not have local commands or a scripts package setup. You can use one of the official scripts packages or define your own commands locally.

example using @pota/webpack-scripts

@pota/cli needs to to know where it can find its commands, this can be done by setting the pota key in your project's package.json:

npm pkg set pota="@pota/webpack-scripts"

example package.json

{
  "name": "pota-project",
  "pota": "@pota/webpack-scripts"
}

Documentation

Tips

  • The pota field in package.json supports arrays; you can define multiple command sources:
npm pkg set pota[0]="@pota/webpack-scripts" pota[1]="other-scripts"

Contributing

See CONTRIBUTING.md

License

Pota is MIT licensed.

2.0.0-alpha.7

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-alpha.6

3 years ago

2.0.0-alpha.5

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

2.0.0-alpha.3

3 years ago

2.0.0-alpha.4

3 years ago

2.0.0-alpha.0

3 years ago

2.0.0-alpha.1

3 years ago

2.0.0-alpha.2

3 years ago

1.0.0-rc.9

4 years ago

1.0.0-rc.7

4 years ago

1.0.0-rc.8

4 years ago

1.0.0-rc.13

4 years ago

1.0.0-rc.12

4 years ago

1.0.0-rc.11

4 years ago

1.0.0-rc.10

4 years ago

1.0.0-rc.6

4 years ago

1.0.0-rc.5

4 years ago

1.0.0-rc.4

4 years ago

1.0.0-rc.3

4 years ago

1.0.0-rc.2

4 years ago

1.0.0-rc.1

4 years ago

0.1.0

4 years ago

0.1.0-alpha.1

4 years ago