# The On-Prem CLI
## Installing
```shell
$ cargo install on-prem-cli
```
## Using
### Login
Start by performing a web login to obtain a 24-hour session token.
```shell
$ onprem login
Logged in. Greetings David Rauschenbach!
```
If the CLI hangs after the web login completes, try a 2nd time, or try Chrome:
```shell
$ onprem login --browser chrome
Logged in. Greetings David Rauschenbach!
```
### Deploy assets
```shell
$ onprem apply my.yaml
```
See [docs.on-prem.net](https://docs.on-prem.net) for examples.
## Examples
- [Deploying a lambda with associated model files](examples/lambda_with_files/README.md)