codecourse / cli
The official Codecourse CLI
Installs: 395
Dependents: 0
Suggesters: 0
Security: 0
Stars: 39
Watchers: 5
Forks: 5
Open Issues: 10
Type:project
Requires
- php: ^7.1.2
This package is auto-updated.
Last update: 2024-12-10 02:08:49 UTC
README
The official Codecourse CLI
Access codecourse.com features directly from the command line.
Current features
download:course [slug]
Download all videos for a course
Requirements
- Composer (https://getcomposer.org/)
- PHP 7.1.2 or higher
Installation (global)
macOS
composer global require codecourse/cli
Make sure you add Composer's global vendor/bin folder to your $PATH
. You can do this by adding PATH=$PATH:~/.composer/vendor/bin
to your ~/.bash_profile
file and run:
# source ~/.bash_profile
Installation (standalone)
Download the codecourse
binary from this repository and run:
# cd /path/to/downloaded/binary
# php codecourse
Installation (docker)
Download the codecourse
binary from this repository and run:
$ cd /path/to/downloaded/binary
$ docker run -it --rm --name codecourse-app -v "$PWD":/app -w /app php:7.3-cli bash
root@container-id:/app# php codecourse
Installation (docker-compose)
Download the codecourse
binary and docker-compose.yml
file from this repository and run:
$ cd /path/to/downloaded/binary_and_docker-compose_file
$ docker-compose run app bash
root@container-id:/app# php codecourse
Known issues
- The Codecourse CLI has not been tested on Windows platforms yet.
Usage
Once installed, run codecourse
for a list of available commands.
Support
If you're having trouble setting up the CLI, email hello@codecourse.com or alex@codecourse.com