github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/dgraph/cmd/root_ee.go (about)

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