Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Add a CLI tool #104

Open
haadcode opened this issue Mar 23, 2017 · 3 comments
Open

Add a CLI tool #104

haadcode opened this issue Mar 23, 2017 · 3 comments

Comments

@haadcode
Copy link
Member

It would be great to have a CLI tool to manage logs.

The basic commands would be:

$ ipfs-log create
QmFoo1

$ ipfs-log append QmFoo1 "hello world"
QmFoo2

$ ipfs-log values QmFoo2
[{ payload: "hello world", ... }]

$ ipfs-log create --id 'logB'
QmFoo3

$ ipfs-log append QmFoo3 "hi"
QmFoo4

$ ipfs-log join QmFoo2 QmFoo4
QmFoo5

$ ipfs-log values QmFoo5 --size 2
[{ payload: "hello world", ... }, { payload: "hi", ... }]

I would use yargs to wrap the commands.

This one is up to grabs and if anyone wants to work on this, feel free to assign it to yourself or claim it here by saying so in a comment.

@grantlouisherman
Copy link

hey @haadcode could I take a look at this?

@aphelionz
Copy link
Contributor

@grantlouisherman I'm not @haadcode but YES :)

@grantlouisherman
Copy link

grantlouisherman commented Oct 17, 2019

Hey @aphelionz @haadcode ipfs-log create command. Did you envision this would be the creation of a new instance of a Log?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants