eclipse/cmd/url2id/url2id.go

18 lines
253 B
Go
Raw Normal View History

2024-01-11 00:13:14 +00:00
// Copyright (C) 2024 Umorpha Systems
// SPDX-License-Identifier: AGPL-3.0-or-later
package main
import (
"fmt"
"os"
"git.mothstuff.lol/lukeshu/eclipse/lib"
)
func main() {
for _, url := range os.Args[1:] {
fmt.Println(lib.URLToID(url))
}
}