mirror of
https://github.com/lunchcat/sif.git
synced 2025-12-05 20:40:08 -08:00
adding vscode workspace files to project
This commit is contained in:
@@ -1 +1,12 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/charmbracelet/log"
|
||||
)
|
||||
|
||||
func Dirlist(url string) {
|
||||
log.Infof("Starting directory scan on %s...", url)
|
||||
fmt.Println(url)
|
||||
}
|
||||
|
||||
4
main.go
4
main.go
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/charmbracelet/lipgloss"
|
||||
"github.com/charmbracelet/log"
|
||||
"github.com/pushfs/sif/cmd"
|
||||
)
|
||||
|
||||
var style = lipgloss.NewStyle().
|
||||
@@ -30,5 +31,8 @@ func main() {
|
||||
settings := parseURLs()
|
||||
for _, url := range settings.URLs {
|
||||
log.Infof("Looking up %s...", url)
|
||||
if settings.Dirlist {
|
||||
cmd.Dirlist(url)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
12
sif.code-workspace
Normal file
12
sif.code-workspace
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"name": "sif-runtime",
|
||||
"path": "../sif-runtime"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
}
|
||||
Reference in New Issue
Block a user