@@ -1,14 +1,15 @@
 package command_run
 
 import (
-	"errors"
 	"flag"
+	"github.com/mysterium/node/cmd"
 )
 
 type CommandOptions struct {
-	NodeKey          string
-	DirectoryConfig  string
-	DirectoryRuntime string
+	NodeKey           string
+	DirectoryConfig   string
+	DirectoryRuntime  string
+	DirectoryKeystore string
 }
 
 func ParseArguments(args []string) (options CommandOptions, err error) {
package command_run

import (
	"errors"
	"flag"
)

type CommandOptions struct {
	NodeKey          string
	DirectoryConfig  string
	DirectoryRuntime string
}

func ParseArguments(args []string) (options CommandOptions, err error) {
	flags := flag.NewFlagSet(args[0], flag.ContinueOnError)
	flags.StringVar(
		&options.NodeKey,
		"node",
		"",
		"Unique identifier for Mysterium VPN node",
	)
	flags.StringVar(
		&options.DirectoryConfig,
		"config-dir",
		".",
		"Configs directory containing all configuration files",
	)
	flags.StringVar(
		&options.DirectoryRuntime,
		"runtime-dir",
		".",
		"Runtime directory for temp files (should be writable)",
	)

	err = flags.Parse(args[1:])
	if err != nil {
		return
	}

	if options.NodeKey == "" {
		err = errors.New("Missing VPN node key!")
		return
	}

	return options, err
}

Should we call it `NodeKey`, maybe refactor to something like `Identity`