/ core / commands / stat_provide.go
stat_provide.go
 1  package commands
 2  
 3  import (
 4  	cmds "github.com/ipfs/go-ipfs-cmds"
 5  )
 6  
 7  var statProvideCmd = &cmds.Command{
 8  	Status: cmds.Deprecated,
 9  	Helptext: cmds.HelpText{
10  		Tagline: "Deprecated command, use 'ipfs provide stat' instead.",
11  		ShortDescription: `
12  'ipfs stats provide' is deprecated because provide and reprovide operations
13  are now distinct. This command may be replaced by provide only stats in the
14  future.
15  `,
16  	},
17  	Arguments: provideStatCmd.Arguments,
18  	Options:   provideStatCmd.Options,
19  	Run:       provideStatCmd.Run,
20  	Encoders:  provideStatCmd.Encoders,
21  	Type:      provideStatCmd.Type,
22  }