| 123456789101112131415161718192021222324252627 | package network_userimport (	"github.com/gravitl/netmaker/cli/functions"	"github.com/spf13/cobra")var networkName stringvar networkuserListCmd = &cobra.Command{	Use:   "list",	Args:  cobra.NoArgs,	Short: "List network users",	Long:  `List network users`,	Run: func(cmd *cobra.Command, args []string) {		if networkName != "" {			functions.PrettyPrint(functions.GetNetworkUsers(networkName))		} else {			functions.PrettyPrint(functions.GetAllNetworkUsers())		}	},}func init() {	networkuserListCmd.Flags().StringVar(&networkName, "network", "", "Name of the network")	rootCmd.AddCommand(networkuserListCmd)}
 |