Project

pmlcode

0.0
No commit activity in last 3 years
No release in over 3 years
Utility for managing PML code embeds
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 5.0
~> 10.0

Runtime

>= 1.8.0, ~> 1.8
~> 2.2
 Project Readme

pmlcode

A utility for downloading code files referenced by .pml files.

Installation

$ gem install pmlcode

Usage

See pmlcode --help

Example

Assuming Chapter.pml has an embed for code/02-testing/01-start/test/some_test.exs:

This command:

$ pmlcode Chapter.pml -a /path/to/git/working/copy

Will generate the referenced file, extracting it from the origin/02-testing.01-start ref of /path/to/git/working/copy.

You can also extract the entire branch using the -t full option, process as many .pml files as you like at once, be warned of missing parts, see the file content (incl highlights), customize the pattern used to extract the metadata from the filename, and more.

See pmlcode --help for more details (or read USAGE and the options in PMLCode::CLI).

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bruce/pmlcode.

License

The gem is available as open source under the terms of the MIT License.