Leave cluster and remove all pins in the process #1728
Labels
effort/hours
Estimated to take one or several hours
exp/intermediate
Prior experience is likely helpful
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
topic/design-ux
UX strategy, research, not solely visual design
Describe the feature you are proposing
It would be neat if there's a flag for ipfs-cluster-follow start it up and connect to the cluster, but then send a leave cluster message, remove all locally pins related to the cluster and then delete all files related to the cluster.
As there's already "run --init" I think something like "stop --cleanup" would be appropriate:
$ ipfs-cluster-follow <clusterName> run --init
$ ipfs-cluster-follow <clusterName> stop --cleanup
The flag
--cleanup
will also delete the ipfs-cluster-follow files in~/.ipfs-cluster-follow
.stop
alone will just leave the cluster and unpin everything.The text was updated successfully, but these errors were encountered: