Sharing to Punkt Hub
Share your dotfiles on Punkt Hub
Creating a Collection
To create a collection, simply run the following command:
punkt create-collectionYou can make it private by simply adding the flag --private:
punkt create-collection --privateDeleting a Collection
To delete a collection you own, you must first ascertain its handle. Once you have the handle, execute:
punkt delete-collection 77Adding Files to Your Collection
Before uploading files to the Hub, you must ensure they are synchronised to the Local State. Once synchronised, you may publish them using the collection handle:
punkt publish 77 ~/audrey.txtAt present, only individual files are supported for upload; directories cannot be uploaded. The target path provided must be an Active State path. Furthermore, file names must be unique within the collection.
Removing Files from Your Collection
To remove a file from a collection you own, simply run the command with the collection handle and the file name:
punkt unpublish 77 audrey.txt