47 lines
571 B
Markdown
47 lines
571 B
Markdown
# SecNex CLI
|
|
|
|
The SecNex CLI is a command line tool for the SecNex API. It allows you to manage your SecNex API resources from the command line.
|
|
|
|
## Features
|
|
|
|
- [x] Login via OAuth2 and secure saving of the access token with keyring
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pip install secnex-cli
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
secnex auth login
|
|
```
|
|
|
|
## Commands
|
|
|
|
### auth
|
|
|
|
#### login
|
|
|
|
Login to the SecNex API
|
|
|
|
```bash
|
|
secnex auth login
|
|
```
|
|
|
|
#### logout
|
|
|
|
Logout from the SecNex API
|
|
|
|
```bash
|
|
secnex auth logout
|
|
```
|
|
|
|
#### status
|
|
|
|
Check if user is already logged in
|
|
|
|
```bash
|
|
secnex auth status
|
|
``` |