Codelabs command line tool
The program takes an input in form of a resource location, which can either be a Google Doc ID, local file path or an arbitrary URL. It then converts the input into a codelab format, HTML by default.
For more info run
The easiest way is to download pre-compiled binary. The binaries, as well as their checksums are available at the Releases page.
Alternatively, if you have Go installed:
go get github.com/googlecodelabs/tools/claat
If none of the above works, compile the tool from source following Dev workflow instructions below.
- Install Go if you don't have it.
- Make sure this directory is placed under
- Install package dependencies with
go get ./...from this directory.
To build the binary, run
Testing is done with
make test or
go test ./... if preferred.
Don't forget to run
make lint or
golint ./... before creating a new CL.
To create cross-compiled versions for all supported OS/Arch, run
It will place the output in