Skip to content

Commit

Permalink
✨ Command Line Interface
Browse files Browse the repository at this point in the history
Usage example:
```
npm run cli -- --help
npm run cli -- --version
npm run cli -- --login
npm run cli -- --balance
```
  • Loading branch information
AndreMiras committed Sep 25, 2023
1 parent 61f7e93 commit ae6f111
Show file tree
Hide file tree
Showing 7 changed files with 860 additions and 5 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Unofficial Laboral Kutxa JS library
npm install laboral-kutxa
```

## Usage
## Library Usage

Reading through the `misProductos` list:

Expand Down Expand Up @@ -55,3 +55,11 @@ Output:
financing: { cantidad: 123456.78, moneda: 'EUR' }
}
```

## CLI Usage

It's also possible to consume the CLI directly to access the account.

```sh
npx laboral-kutxa --balance
```
Loading

0 comments on commit ae6f111

Please sign in to comment.