This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# gitea-kanban-tui
|
||||
# gitea-kanban
|
||||
|
||||
Keyboard-driven Kanban board for native repository Projects in custom Gitea fork.
|
||||
Native Projects Kanban tools for custom Gitea fork. `gitea-kanban-tui` provides
|
||||
the keyboard interface; `gitea-kanban` provides the command-line interface.
|
||||
|
||||
## Configuration
|
||||
|
||||
@@ -27,7 +28,7 @@ accepted only for loopback development.
|
||||
```sh
|
||||
export GITEA_URL=https://gitea.hectic-lab.com
|
||||
export GITEA_TOKEN_FILE="$HOME/.config/gitea/token"
|
||||
cargo run --manifest-path package/gitea-kanban-tui/Cargo.toml -- \
|
||||
cargo run --manifest-path package/gitea-kanban-tui/Cargo.toml --bin gitea-kanban-tui -- \
|
||||
--project Kanban yukkop util.nix
|
||||
```
|
||||
|
||||
@@ -35,7 +36,7 @@ Alternatively:
|
||||
|
||||
```sh
|
||||
nix develop .#ratatui
|
||||
cargo run --manifest-path package/gitea-kanban-tui/Cargo.toml -- \
|
||||
cargo run --manifest-path package/gitea-kanban-tui/Cargo.toml --bin gitea-kanban-tui -- \
|
||||
--project-id 1 owner repo
|
||||
```
|
||||
|
||||
@@ -47,6 +48,21 @@ cargo run --manifest-path package/gitea-kanban-tui/Cargo.toml -- \
|
||||
- `?`: toggle help
|
||||
- `q`: quit
|
||||
|
||||
## CLI
|
||||
|
||||
Both binaries use same configuration and API client. CLI commands:
|
||||
|
||||
```sh
|
||||
gitea-kanban --project Kanban owner repo board
|
||||
gitea-kanban --project Kanban owner repo create --title "Fix issue" --body "Details"
|
||||
gitea-kanban --project Kanban owner repo edit 42 --title "Updated" --body "Changed"
|
||||
gitea-kanban --project Kanban owner repo move 123 --column-id 7
|
||||
gitea-kanban --project Kanban owner repo delete 42 --yes
|
||||
```
|
||||
|
||||
`delete` requires repository admin permission. `move` takes global issue and
|
||||
project-column IDs.
|
||||
|
||||
Native mode reads `/projects`, project columns, and each column's issues. Moves
|
||||
use the issue's global API `id` and destination column `id`; optional sorting is
|
||||
supported by the server API. Project names are exact, case-sensitive matches;
|
||||
|
||||
Reference in New Issue
Block a user