bobthecow / forematter Goto Github PK
View Code? Open in Web Editor NEWThe frontmatter-aware friend for your static site.
License: MIT License
The frontmatter-aware friend for your static site.
License: MIT License
when querying a particular element that does not exist
$ find content/ -type f -name '*.md' | xargs fore list tags
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/lib/forematter/commands/list.rb:13:in `each': undefined method `downcase' for nil:NilClass (NoMethodError)
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/lib/forematter/commands/list.rb:13:in `sort_by'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/lib/forematter/commands/list.rb:13:in `run'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/lib/forematter/command_runner.rb:6:in `call'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/cri-2.4.1/lib/cri/command_dsl.rb:185:in `block in runner'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/cri-2.4.1/lib/cri/command.rb:298:in `call'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/cri-2.4.1/lib/cri/command.rb:298:in `run_this'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/cri-2.4.1/lib/cri/command.rb:251:in `run'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/cri-2.4.1/lib/cri/command.rb:264:in `run'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/lib/forematter.rb:36:in `run'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/forematter-0.1.0/bin/fore:10:in `<top (required)>'
Case 1:
when processing a list of files, rescue from File Not Found RuntimeError, print the error to standard error, and continue with the rest of the files in the list. Exit with non-zero status to indicate not all files were processed as requested.
Case 2:
When attempting to perform an operation that doesn't make sense, i.e. adding to an element that is not a set, print an error message to standard error and exit with non-zero status, but don't print a stack trace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.