We've built a simple issue manager CLI to show how to use Shred to wrap an API like GitHub's.
- Change to the
examples/github
directory.
cd examples/github
- List the issues in the Shred repo.
coffee cli.coffee list -o pandastrike -r shred
- If you want to create issues using the CLI, add a GitHub API token.
cat >> .token
paste your token here
^D
- Create a new issue.
coffee cli.coffee create -o pandastrike -r shred \
-t 'My Ticket Title' -b "My ticket's body"