webdesk-app-market-client/README.md

54 lines
1.1 KiB
Markdown

# WebDesk 3rd party App Market client
This allows you to interact with custom (known as 3rd party) App Market repositories of WebDesk applications.
## Features
- Listing currently uploaded apps
- Uploading new apps
- Editing app info
- Delete apps
## Prerequisites
- Go (1.23.1 or later, older will work with go.mod changes to the version)
## Installation
1. Clone the repository:
```
git clone https://git.fluffy.pw/matu6968/webdesk-app-market-client
```
2. Go to the project directory:
```
cd webdesk-app-market-client
```
3. Build the binary:
```
go build -o appmarketcli
```
4. Execture the binary:
```
./appmarketcli
```
# Configuration
In the .env file this is the only thing you can set
```
SERVER_URL=https://localhost:8080
AUTH_TOKEN=bearer-token-here # Grab token from .env file of the server
```
# How does this work
Command usage is explained in the program if you don't specify any command.
# !IMPORTANT!
You will need to set a token to interact with your server on anything outside of viewing apps in your .env file otherwaise actions like deleting apps will fail.