Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.46 KB

README.md

File metadata and controls

69 lines (43 loc) · 1.46 KB

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

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 [email protected] or [email protected]