github.com/dshekhar95/sub_dgraph@v0.0.0-20230424164411-6be28e40bbf1/dgraph/cmd/root_ee.go (about)

     1  //go:build !oss
     2  // +build !oss
     3  
     4  /*
     5   * Copyright 2022 Dgraph Labs, Inc. and Contributors
     6   *
     7   * Licensed under the Dgraph Community License (the "License"); you
     8   * may not use this file except in compliance with the License. You
     9   * may obtain a copy of the License at
    10   *
    11   *     https://github.com/dgraph-io/dgraph/blob/master/licenses/DCL.txt
    12   */
    13  
    14  package cmd
    15  
    16  import (
    17  	acl "github.com/dgraph-io/dgraph/ee/acl"
    18  	"github.com/dgraph-io/dgraph/ee/audit"
    19  	"github.com/dgraph-io/dgraph/ee/backup"
    20  )
    21  
    22  func init() {
    23  	// subcommands already has the default subcommands, we append to EE ones to that.
    24  	subcommands = append(subcommands,
    25  		&backup.Restore,
    26  		&backup.LsBackup,
    27  		&backup.ExportBackup,
    28  		&acl.CmdAcl,
    29  		&audit.CmdAudit,
    30  	)
    31  }