cmd

package
v0.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 40 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// colors
	Grey   = color.New(color.FgHiBlack).SprintFunc()
	Green  = color.New(color.FgHiGreen).SprintFunc()
	Cyan   = color.New(color.FgHiCyan).SprintFunc()
	Yellow = color.New(color.FgHiYellow).SprintFunc()
)

Functions

func AccountAddress added in v0.2.0

func AccountAddress() error

func AccountGet added in v0.2.0

func AccountGet() error

func AccountSeed added in v0.2.0

func AccountSeed() error

func AccountSync added in v0.2.0

func AccountSync(wait int) error

func BlockIgnore added in v0.2.0

func BlockIgnore(blockID string) error

Adds new block to the thread to indicate that this block should be ignored, essentially removing the block

func BlockList added in v0.2.0

func BlockList(threadID string, offset string, limit int, dots bool) error

func BlockMeta added in v0.2.0

func BlockMeta(blockID string) error

func CafeAdd added in v0.2.0

func CafeAdd(peerId string, token string) error

func CafeDelete added in v0.2.0

func CafeDelete(cafeID string) error

func CafeGet added in v0.2.0

func CafeGet(cafeID string) error

func CafeList added in v0.2.0

func CafeList() error

func CafeMessages added in v0.2.0

func CafeMessages() error

func Chat added in v0.2.0

func Chat(threadID string) error

func CommentAdd added in v0.2.0

func CommentAdd(blockID string, commentBody string) error

func CommentGet added in v0.2.0

func CommentGet(blockID string) error

func CommentIgnore added in v0.2.0

func CommentIgnore(blockID string) error

func CommentList added in v0.2.0

func CommentList(blockID string) error

func Config added in v0.2.0

func Config(name string, value string) error

func ContactAdd added in v0.2.0

func ContactAdd(name string, address string, wait int) error

func ContactDelete added in v0.2.0

func ContactDelete(address string) error

func ContactGet added in v0.2.0

func ContactGet(address string) error

func ContactList added in v0.2.0

func ContactList() error

func ContactSearch added in v0.2.0

func ContactSearch(name string, address string, local bool, remote bool, limit int, wait int) error

func Daemon added in v0.2.0

func Daemon(repoPath string, pinCode string, docs bool, debug bool) error

Start the daemon against the user repository

func Docs added in v0.2.0

func Docs() error

func Feed added in v0.2.0

func Feed(threadID string, offset string, limit int, mode string) error

func FileAdd added in v0.2.0

func FileAdd(path string, threadID string, caption string, group bool, verbose bool) error

func FileGet added in v0.2.0

func FileGet(fileHash string, content bool) error

func FileGetBlock added in v0.4.0

func FileGetBlock(blockID string, index int, path string, content bool) error

func FileIgnore added in v0.2.0

func FileIgnore(blockID string) error

func FileKeys added in v0.2.0

func FileKeys(dataID string) error

func FileListBlock added in v0.4.0

func FileListBlock(blockID string) error

func FileListThread added in v0.4.0

func FileListThread(threadID string, offset string, limit int) error

func InitCommand added in v0.2.0

func InitCommand(config core.InitConfig) error

func InviteAccept added in v0.2.0

func InviteAccept(inviteID string, key string) error

func InviteCreate added in v0.2.0

func InviteCreate(threadID string, address string, wait int) error

func InviteIgnore added in v0.2.0

func InviteIgnore(inviteID string) error

func InviteList added in v0.2.0

func InviteList() error

func IpfsCat added in v0.2.0

func IpfsCat(hash string, key string) error

func IpfsPeer added in v0.2.0

func IpfsPeer() error

func IpfsSwarmConnect added in v0.2.0

func IpfsSwarmConnect(address string) error

func IpfsSwarmPeers added in v0.2.0

func IpfsSwarmPeers(verbose bool, streams bool, latency bool, direction bool) error

func LikeAdd added in v0.2.0

func LikeAdd(blockID string) error

func LikeGet added in v0.2.0

func LikeGet(likeID string) error

func LikeIgnore added in v0.2.0

func LikeIgnore(likeID string) error

func LikeList added in v0.2.0

func LikeList(blockID string) error

func Logs added in v0.2.0

func Logs(subsystem string, level string, texOnly bool) error

func MessageAdd added in v0.2.0

func MessageAdd(threadID string, body string) error

func MessageGet added in v0.2.0

func MessageGet(blockID string) error

func MessageIgnore added in v0.2.0

func MessageIgnore(blockID string) error

func MessageList added in v0.2.0

func MessageList(threadID string, offset string, limit int) error

func Migrate added in v0.2.0

func Migrate(repoPath string, pinCode string) error

Grab the repo path and migrate it to the latest version, passing the decryption pincode

func NotificationList added in v0.2.0

func NotificationList() error

func NotificationRead added in v0.2.0

func NotificationRead(id string) error

func Observe added in v0.4.0

func Observe(threadID string, types []string) (<-chan *pb.FeedItem, error)

func ObserveCommand added in v0.4.0

func ObserveCommand(threadID string, types []string) error

func Ping added in v0.2.0

func Ping(address string) error

func ProfileGet added in v0.2.0

func ProfileGet() error

func ProfileSet added in v0.2.0

func ProfileSet(name string, avatar string) error

func Publish added in v0.6.4

func Publish(topic string) error

func Run added in v0.2.0

func Run() error

func Summary added in v0.2.0

func Summary() error

func ThreadAbandon added in v0.4.0

func ThreadAbandon(threadID string) error

func ThreadAdd added in v0.2.0

func ThreadAdd(name string, key string, tipe string, sharing string, whitelist []string, schema string, schemaFile string, blob bool, cameraRoll bool, media bool) error

func ThreadGet added in v0.2.0

func ThreadGet(threadID string) error

func ThreadList added in v0.2.0

func ThreadList() error

func ThreadPeer added in v0.2.0

func ThreadPeer(threadID string) error

func ThreadRename added in v0.2.0

func ThreadRename(name string, threadID string) error

func ThreadSnapshotApply added in v0.2.0

func ThreadSnapshotApply(id string, wait int) error

func ThreadSnapshotCreate added in v0.2.0

func ThreadSnapshotCreate() error

func ThreadSnapshotSearch added in v0.2.0

func ThreadSnapshotSearch(wait int) error

func TokenCreate added in v0.2.0

func TokenCreate(token string, noStore bool) error

func TokenList added in v0.2.0

func TokenList() error

func TokenRemove added in v0.2.0

func TokenRemove(token string) error

func TokenValidate added in v0.2.0

func TokenValidate(token string) error

func Version added in v0.2.0

func Version(git bool) error

func WalletAccounts added in v0.2.0

func WalletAccounts(mnemonic string, passphrase string, depth int, offset int) error

func WalletInit added in v0.2.0

func WalletInit(words int, passphrase string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL