diff options
| author | demo <demo@antix1> | 2026-05-08 10:19:23 -0400 |
|---|---|---|
| committer | demo <demo@antix1> | 2026-05-08 10:19:23 -0400 |
| commit | 8a3554d4f32d631bd1c7cc6254ab11b14b541c67 (patch) | |
| tree | dc42a61ab56acf62542b3f2565ac23e557f88f28 /cmd/localclient/main.go | |
| parent | 6aa92cede4f4c70333293cfdac00d9d08db66636 (diff) | |
feat: separate into remote and local commands
I'd like to be able to read HTML locally as well.
Diffstat (limited to 'cmd/localclient/main.go')
| -rw-r--r-- | cmd/localclient/main.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/localclient/main.go b/cmd/localclient/main.go new file mode 100644 index 0000000..21d405d --- /dev/null +++ b/cmd/localclient/main.go @@ -0,0 +1,14 @@ +package main + +import ( + "flag" + "log" +) + +func main() { + filename := flag.String("file", "", "Local HTML file") + if *filename == "" { + log.Fatal("Missing -file argument") + } + +} |
