cli: add system command and subcmds to interact with system API.

The system command includes gc and reconcile-summaries subcommands
which covers all currently available system API calls. The help
information is largely pulled from the current Nomad website API
documentation.
This commit is contained in:
James Rasell
2020-01-13 11:34:46 +01:00
parent 56937bf87f
commit 0ea8fdfa81
9 changed files with 278 additions and 0 deletions

12
command/system_test.go Normal file
View File

@@ -0,0 +1,12 @@
package command
import (
"testing"
"github.com/mitchellh/cli"
)
func TestSystemCommand_Implements(t *testing.T) {
t.Parallel()
var _ cli.Command = &SystemCommand{}
}