go-ipfs already has --pin for dag.put and --pin for block.put is in a PR https://github.com/ipfs/go-ipfs/pull/5969
@alanshaw Ill take a look at this 馃挴
Hey @alanshaw do you want the put DAG command added as well?
hey @alanshaw could you take a look at this question I raised on discuss.ipfs.io and let me know if you have any advice? https://discuss.ipfs.io/t/using-jsipfs-pin-add/5044