0.1.0 • Published 8 years ago

cadet-cli v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

#Cadet CLI

This package allows you to duplicate a group of repos from the command line. It uses the Cadet Parser to parse a markdown file in order to make the repos. Read instructions for it in the Cadet Parser readme.

To get started with the CLI, first install it globally. npm install -g cadet-cli

Next, head over to your github settings and generate a Personal Access Token. Make sure you give yourself user and repo permissions. Now, copy that token and keep it in a safe place, it's just like a password!

While you're on github, you'll want to create a new organization where the assignments will be generated. It needs to be the same name as the course title you entered in the course markdown file.

When all that is done, go to your command line and run cadet <path to markdown> <token>

Once the process is complete, you'll see you have a new repo with a name that matches the course title and your readme will be copied there. It will also have a folder for each week. In the organization you created, there will be an empty repo for each assignment.