open.cr
Version, currently master branch1 version
- master branchlatestDec 18, 2016
github.com/rhysd/open.cr
Tiny library to open something in Crystal
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
open.cr:
github: rhysd/open.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Authors
- rhysd, Fusion
Dependencies
This version declares no dependencies.
README
External::open
External.open is a method to open something in manner or current OS.
This is inspired by node-open.
Installation
Add this to your application's shard.yml:
dependencies:
open.cr:
github: rhysd/open.cr
Usage
require "external/open"
External.open "http://crystal-lang.org/"
External.open "file:///Users/foo/Documents/somedoc.pdf"
External.open "../../README.md"
External.open "musics/bar.mp3"
Contributing
- Fork it ( https://github.com/rhysd/open/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- @rhysd - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Dec 18, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/rhysd/open.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1