mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-21 00:47:22 +08:00
refactor: get rid of cmdDetails awkwardness
This commit is contained in:
@ -55,6 +55,7 @@ the event log.
|
||||
One of: debug, info, warn, error, dpanic, panic, fatal.
|
||||
`),
|
||||
},
|
||||
NoLocal: true,
|
||||
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
|
||||
args := req.Arguments
|
||||
subsystem, level := args[0], args[1]
|
||||
|
Reference in New Issue
Block a user