mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2024-12-23 12:09:47 +00:00
c6e0ce751e
It's no longer needed since any new subbmision is now from xmr.ditatompel.com
15 lines
527 B
Go
15 lines
527 B
Go
package server
|
|
|
|
import "xmr-remote-nodes/cmd"
|
|
|
|
func init() {
|
|
cmd.Root.AddCommand(serveCmd)
|
|
cmd.Root.AddCommand(cronCmd)
|
|
cmd.Root.AddCommand(probersCmd)
|
|
probersCmd.AddCommand(listProbersCmd)
|
|
probersCmd.AddCommand(addProbersCmd)
|
|
probersCmd.AddCommand(editProbersCmd)
|
|
probersCmd.AddCommand(deleteProbersCmd)
|
|
listProbersCmd.Flags().StringP("sort-by", "s", "last_submit_ts", "Sort by column name, can be id or last_submit_ts")
|
|
listProbersCmd.Flags().StringP("sort-dir", "d", "desc", "Sort direction, can be asc or desc")
|
|
}
|