Access codecourse.com features directly from the command line.
download:course [slug]
Download all videos for a course
- Composer (https://getcomposer.org/)
- PHP 7.1.2 or higher
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
Download the codecourse
binary from this repository and run:
# cd /path/to/downloaded/binary
# php codecourse
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
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
- The Codecourse CLI has not been tested on Windows platforms yet.
Once installed, run codecourse
for a list of available commands.
If you're having trouble setting up the CLI, email [email protected] or [email protected]