You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 51m logged

I finished off the remaining mocha bucket subcommands, those being add, rm and list. These commands manage “buckets” which are pretty much just package sources.

mocha bucket add uses git to clone the relevant bucket into the [MOCHA_DIR]/buckets directory. By default MOCHA_DIR is [USER]/mocha

mocha bucket list simply loops over the [MOCHA_DIR]/buckets directory and gets relevant info for each bucket.

mocha bucket rm removes a bucket by just deleting the folder containing the bucket. For example, removing the main bucket deletes [MOCHA_DIR]/buckets/main

0
2

Comments 0

No comments yet. Be the first!