use fs.GetArgs()

This commit is contained in:
onyx-and-iris 2026-02-17 16:41:42 +00:00
parent 79d53f34da
commit 51e8ac85be

View File

@ -3,7 +3,6 @@ package main
import (
"bufio"
"errors"
"flag"
"fmt"
"io"
"os"
@ -138,7 +137,7 @@ func run() (func(), error) {
return closer, nil
}
commands := flag.Args()
commands := fs.GetArgs()
if len(commands) == 0 {
log.Debug("no commands provided, defaulting to 'status'")
commands = append(commands, "status")