@zinn-dev/cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/index.ts +15 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# zinn
|
|
2
|
+
|
|
3
|
+
A kanban workflow for your terminal. Built on OpenTUI.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add -g @zinn-dev/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
OpenTUI is based on Bun, so Bun is the recommended runtime.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
zinn
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## License
|
|
20
|
+
|
|
21
|
+
MIT
|
package/index.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import { createCliRenderer, Box, Text } from "@opentui/core";
|
|
3
|
+
|
|
4
|
+
const renderer = await createCliRenderer({
|
|
5
|
+
exitOnCtrlC: true,
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
renderer.root.add(
|
|
9
|
+
Box(
|
|
10
|
+
{ borderStyle: "rounded", padding: 1, flexDirection: "column", gap: 1 },
|
|
11
|
+
Text({ content: "zinn", fg: "#00a6ffff" }),
|
|
12
|
+
Text({ content: "A kanban workflow for your terminal. Built on OpenTUI.", fg: "#00c8ffff" }),
|
|
13
|
+
Text({ content: "Press Ctrl+C to exit" }),
|
|
14
|
+
),
|
|
15
|
+
);
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zinn-dev/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A kanban workflow for your terminal. Built on OpenTUI.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/yethranayeh/zinn/issues"
|
|
8
|
+
},
|
|
9
|
+
"author": {
|
|
10
|
+
"name": "Alper Halil",
|
|
11
|
+
"email": "contact@aktasalper.com",
|
|
12
|
+
"url": "https://aktasalper.com"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/yethranayeh/zinn.git"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"kanban",
|
|
20
|
+
"cli",
|
|
21
|
+
"terminal",
|
|
22
|
+
"tui",
|
|
23
|
+
"opentui",
|
|
24
|
+
"bun"
|
|
25
|
+
],
|
|
26
|
+
"module": "index.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./index.ts",
|
|
30
|
+
"import": "./index.ts"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"index.ts",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
"type": "module",
|
|
38
|
+
"bin": {
|
|
39
|
+
"zinn": "./index.ts"
|
|
40
|
+
},
|
|
41
|
+
"private": false,
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/bun": "latest",
|
|
44
|
+
"typescript": "^5"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@opentui/core": "^0.4.5"
|
|
48
|
+
}
|
|
49
|
+
}
|