Skip to content

washu/wol-cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wol

TODO: Write a description here

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      wol:
        github: your-github-user/wol
  2. Run shards install

Usage

require "wol"
  • defaults Wol.wake("mac address") do |results| if results puts "Sent!" end end

  • options Wol.wake("mac address",{"num_packets" => 3, "secure" => "hex password","port"=> 7, "address" =>"255.255.255.0"}) do |results| if results puts "Sent!" end

end

Development

Contributing

  1. Fork it (https://github.com/your-github-user/wol/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

Wake on Lan for crystal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published