5 Commits

Author SHA1 Message Date
fa681a7208 typo 2025-06-27 13:45:51 +01:00
c6c8522a2d prefer true 2025-06-27 13:11:42 +01:00
cac7c09fa6 reword 2025-06-27 12:45:42 +01:00
f9f118dc2d rename release action to publish
add ruff action
2025-06-27 12:42:55 +01:00
835a05dd3e add style env vars to README 2025-06-27 12:17:28 +01:00
3 changed files with 29 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
name: Release name: Publish to PyPI
on: on:
release: release:

19
.github/workflows/ruff.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Ruff
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with:
args: 'format --check --diff'

View File

@@ -85,12 +85,19 @@ Available styles: _red, magenta, purple, blue, cyan, green, yellow, orange, whit
![coloured](./img/coloured-border.png) ![coloured](./img/coloured-border.png)
Optionally you may disable the border colouring with the --no-border flag: Optionally you may disable border colouring with the --no-border flag:
![coloured-no-border](./img/coloured-no-border.png) ![coloured-no-border](./img/coloured-no-border.png)
```console ```console
slobs-cli --style="yellow' --no-border audio list slobs-cli --style="yellow" --no-border audio list
```
Or with environment variables:
```env
SLOBS_STYLE=yellow
SLOBS_STYLE_NO_BORDER=true
``` ```
## Commands ## Commands