# @solid/cli

> A utility to facilitate command-line interaction with Solid servers

Latest version **0.2.1** (published 2021-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @solid/cli
pnpm add @solid/cli
yarn add @solid/cli
bun add @solid/cli
```

Provides the command `solid-bearer-token`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2021-01-27 |
| First published | 2018-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 17.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Ruben Verborgh |
| Maintainers | timbl, justinwb, rubenverborgh, kjetilk, codenamedmitri, jaxoncreed, ajacksified, inrupt_ci, nseydoux, pmcb55, megoth, vincenttunru, michielbdejong, virginiabalseiro |

## Links

- npm: https://www.npmjs.com/package/@solid/cli
- Repository: https://github.com/solid/solid-cli
- Homepage: https://github.com/solid/solid-cli#readme
- Issues: https://github.com/solid/solid-cli/issues
- npm.io page: https://npm.io/package/@solid/cli

## Dependencies (1)

- [@solid/oidc-rp](https://npm.io/package/@solid/oidc-rp.md) ^0.11.5

## Recent versions

- 0.2.1 (latest) — 2021-01-27
- 0.2.0 — 2020-12-01
- 0.1.3 — 2020-02-26
- 0.1.2 — 2020-02-25
- 0.1.1 — 2019-06-13
- 0.1.0 — 2018-09-25

## README

# Solid CLI
A utility to facilitate command-line interaction with Solid servers.

⚠️ **Do _not_ depend on this library yet.**
It currently is a hard-coded integration with node-solid-server,
meant for experimentation.
It is not guaranteed to work, and certainly not with arbitrary Solid servers.

We are currently lacking server-side implementations
of the necessary parts of OIDC for non-browser apps.
Solid CLI uses a hack to still enable this,
but it is _not_ a recommended way of working.

In the future, Solid servers and Solid CLI
should use a standardized protocol instead.

## Installation
```
npm install -g @solid/cli
```

## Usage
```
IDP=https://drive.verborgh.org
USERNAME=ruben
PASSWORD=ruben
URL=https://drive.verborgh.org/inbox/

curl "$URL" -H 'Authorization: Bearer '`solid-bearer-token "$IDP" "$USERNAME" "$PASSWORD" "$URL"`
```

## License
©2018–present [Ruben Verborgh](https://ruben.verborgh.org/),
[MIT License](https://github.com/solid/solid-cli/blob/master/LICENSE.md).

---
_Source: https://npm.io/package/@solid/cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
