Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clivefile & cliver executable #7

Open
yaauie opened this issue Sep 26, 2013 · 0 comments
Open

Clivefile & cliver executable #7

yaauie opened this issue Sep 26, 2013 · 0 comments

Comments

@yaauie
Copy link
Owner

yaauie commented Sep 26, 2013

Create a Clivefile format & pair it with a cliver executable that executes the underlying command with a matching executable.

Example:

Cliver::Specification.new do
  add_dependency 'python', '~> 2.0', as: 'py2'
  add_dependency 'pygments', '~ >7.8', '>= 7.8.1'
end

Usage:
Locates appropriate executable, then replaces self process with it and all given arguments. Possible opportunity for Clivefile.lock file for optimization here, but you know, cache invalidation.

$ cliver pygments -i foo.txt -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant