adding vscode workspace files to project

This commit is contained in:
pushfs
2023-09-01 18:39:00 +02:00
parent a6a61fa3bd
commit 33378dd7a9
3 changed files with 27 additions and 0 deletions

View File

@@ -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)
}

View File

@@ -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
View File

@@ -0,0 +1,12 @@
{
"folders": [
{
"path": "."
},
{
"name": "sif-runtime",
"path": "../sif-runtime"
}
],
"settings": {}
}