Skip to content

[BUG] getflag without flags #122

@qu35t-code

Description

@qu35t-code
~ htb-cli getflag
2024-01-27T18:48:19.689+0100	ERROR	cmd/getflag.go:42		{"error": "Connection error: dial tcp :22: connect: connection refused\n"}
github.com/GoToolSharing/htb-cli/cmd.glob..func2
	/home/qu35t/go/pkg/mod/github.com/!go!tool!sharing/htb-cli@v1.6.0/cmd/getflag.go:42
github.com/spf13/cobra.(*Command).execute
	/home/qu35t/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:876
github.com/spf13/cobra.(*Command).ExecuteC
	/home/qu35t/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990
github.com/spf13/cobra.(*Command).Execute
	/home/qu35t/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918
github.com/GoToolSharing/htb-cli/cmd.Execute
	/home/qu35t/go/pkg/mod/github.com/!go!tool!sharing/htb-cli@v1.6.0/cmd/root.go:46
main.main
	/home/qu35t/go/pkg/mod/github.com/!go!tool!sharing/htb-cli@v1.6.0/main.go:8
runtime.main
	/usr/lib/go/src/runtime/proc.go:267

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions