Skip to content

codecourse/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 hello@codecourse.com or alex@codecourse.com