Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

programatically automate "ipfs name publish <hash>" #3400

Closed
ghost opened this issue Nov 21, 2016 · 4 comments
Closed

programatically automate "ipfs name publish <hash>" #3400

ghost opened this issue Nov 21, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2016

Version information:0.4.4

Type:Enhancement

Priority:3

Description:

Hi is there any way to create a production build without copy/pasting the folder hash into a terminal command?

@hsanjuan
Copy link
Contributor

would curl 'localhost:5001/api/v0/name/publish?arg=<hash>' work for you?

(api endpoint off the top of my head, might be slightly wrong)

@ghost
Copy link
Author

ghost commented Nov 21, 2016

Not sure. I will look into it... was hoping for something along the lines of ipfs name publish <directory>

@hsanjuan
Copy link
Contributor

hsanjuan commented Nov 21, 2016

ipfs add -q -r <directory> | tail -n 1 | xargs ipfs name publish ?

@ghost
Copy link
Author

ghost commented Nov 21, 2016

yes! thank you!

@ajnavarro ajnavarro mentioned this issue Aug 24, 2022
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant