os

A Crystal library for manipulating os-related things in an os-independent way.

Os

A Crystal library for manipulating os-related things in an os-independent way.

Build Status

Installation

Add this to your application's shard.yml:

dependencies:
  os:
    github: mosop/os

Usage

require "os"

Os.username # => "mosop"

API

user_dir

Gets the current user's directory.

username

Gets the current user's name.

Contributing

  1. Fork it ( https://github.com/mosop/os/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

  • mosop mosop - creator, maintainer
Repository

os

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • almost 8 years ago
  • July 10, 2016
License

MIT License

Links
Synced at

Sun, 05 May 2024 12:25:32 GMT

Languages