Skip to content

Commit 8707ea2

Browse files
committed
Adds README development
1 parent 0a48162 commit 8707ea2

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

README.dev.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
## Development notes
2+
3+
The entrypoints for CLIs are:
4+
5+
```sh
6+
cmd/gosuki/main.go
7+
cmd/suki/suki.go
8+
```
9+
10+
So to run via Go (and debug it)
11+
12+
```sh
13+
go run ./cmd/gosuki
14+
```
15+
16+
or
17+
18+
```sh
19+
go run ./cmd/gosuki
20+
```
21+
22+
## VSCodium/VSCode setup for running / debugging:
23+
24+
```sh
25+
.vscode/launch.json
26+
```
27+
28+
```json
29+
{
30+
// Use IntelliSense to learn about possible attributes.
31+
// Hover to view descriptions of existing attributes.
32+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
33+
"version": "0.2.0",
34+
"configurations": [
35+
{
36+
"name": "Debug gosuki import pocket",
37+
"type": "go",
38+
"request": "launch",
39+
"mode": "auto",
40+
"program": "${workspaceRoot}/cmd/gosuki",
41+
"showLog": true,
42+
// "debugAdapter": "dlv-dap",
43+
"args": ["import", "pocket", "--debug=trace", "${workspaceRoot}/debug.csv"]
44+
}
45+
]
46+
}
47+
```
48+
49+
For MacOS:
50+
51+
```sh
52+
.vscode/settings.json
53+
```
54+
55+
```json
56+
{
57+
"go.goroot": "/opt/homebrew/Cellar/go/1.24.3/libexec"
58+
}
59+
```
60+
61+
Extensions:
62+
63+
- https://open-vsx.org/vscode/item?itemName=golang.Go

0 commit comments

Comments
 (0)