tangled
alpha
login
or
join now
atscan.net
/
plcbundle-go
1
fork
atom
[DEPRECATED] Go implementation of plcbundle
1
fork
atom
overview
issues
pulls
pipelines
fix cmd usage behavior
tree.fail
4 months ago
add3f74b
56c8e36f
+6
1 changed file
expand all
collapse all
unified
split
cmd
plcbundle
commands
common.go
+6
cmd/plcbundle/commands/common.go
···
81
81
// getManager(&ManagerOptions{AutoInit: true}) // Allow creating repo
82
82
// getManager(&ManagerOptions{Dir: "/path", AutoInit: true}) // Explicit dir + create
83
83
func getManager(opts *ManagerOptions) (*bundle.Manager, string, error) {
84
84
+
85
85
+
// Silence usage for operational errors
86
86
+
if opts.Cmd != nil {
87
87
+
opts.Cmd.SilenceUsage = true
88
88
+
}
89
89
+
84
90
// Use defaults if nil
85
91
if opts == nil {
86
92
opts = &ManagerOptions{}