mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-03 12:16:18 +08:00

* feat(cmds): add deprecated and experimental status Added programmatic state annotation introduced in https://github.com/ipfs/go-ipfs-cmds/pull/225 for already deprecated / experimental commands. * chore: go-ipfs-cmds v0.7.0 Co-authored-by: Lucas Molas <schomatis@gmail.com>
21 lines
471 B
Go
21 lines
471 B
Go
package unixfs
|
|
|
|
import (
|
|
cmds "github.com/ipfs/go-ipfs-cmds"
|
|
)
|
|
|
|
var UnixFSCmd = &cmds.Command{
|
|
Status: cmds.Deprecated, // https://github.com/ipfs/go-ipfs/pull/7755
|
|
Helptext: cmds.HelpText{
|
|
Tagline: "Interact with IPFS objects representing Unix filesystems.",
|
|
ShortDescription: `
|
|
Old interface to file systems represented by UnixFS.
|
|
Superseded by modern alternatives: 'ipfs ls' and 'ipfs files'
|
|
`,
|
|
},
|
|
|
|
Subcommands: map[string]*cmds.Command{
|
|
"ls": LsCmd,
|
|
},
|
|
}
|