Add native Windows support (#91)
- Native Windows daemon using TCP loopback endpoints - Direct-mode fallback for CLI/daemon compatibility - Comment operations over RPC - PowerShell installer script - Go 1.24 requirement - Cross-OS testing documented Co-authored-by: danshapiro <danshapiro@users.noreply.github.com> Amp-Thread-ID: https://ampcode.com/threads/T-c6230265-055f-4af1-9712-4481061886db Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -51,7 +51,7 @@ func TestInitCommand(t *testing.T) {
|
||||
rootCmd.SetArgs([]string{})
|
||||
initCmd.Flags().Set("prefix", "")
|
||||
initCmd.Flags().Set("quiet", "false")
|
||||
|
||||
|
||||
tmpDir := t.TempDir()
|
||||
originalWd, err := os.Getwd()
|
||||
if err != nil {
|
||||
@@ -80,12 +80,12 @@ func TestInitCommand(t *testing.T) {
|
||||
if tt.quiet {
|
||||
args = append(args, "--quiet")
|
||||
}
|
||||
|
||||
|
||||
rootCmd.SetArgs(args)
|
||||
|
||||
// Run command
|
||||
err = rootCmd.Execute()
|
||||
|
||||
|
||||
// Restore stdout and read output
|
||||
w.Close()
|
||||
buf.ReadFrom(r)
|
||||
|
||||
Reference in New Issue
Block a user