netrc
Version, currently main branch1 version
- main branchlatestMay 23, 2024
github.com/usiegj00/crystal-netrc
No description declared in shard.yml.
0 stars
1 dependent
License: not declared
Installation
# Add this to your shard.yml
dependencies:
netrc:
github: usiegj00/crystal-netrc
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.12.1- Author
- usiegj00
- Target
netrcfrom src/netrc.cr
Dependencies
This version declares no dependencies.
README
netrc
A simple library to read and write .netrc files based on autocompletion from AI.
Installation
Add this to your application's shard.yml:
dependencies:
netrc:
github: usiegj00/crystal-netrc
Usage
Write:
user_netrc = Netrc.read
user_netrc["some.host.name"] = {"email", "password"}
user_netrc.save
Read:
user_netrc = Netrc.read
puts user_netrc.unparse
ent = user_netrc["some.host.name"]
exit if ent.nil?
puts ent.password
Contributing
- Fork it (https://github.com/your-github-user/netrc/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
- usiegj00 - creator and maintainer
Copyright
Copyright 2024 usiegj00. All rights reserved.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- May 23, 2024
- Crystal
>= 1.12.1- Indexed
- yes
Dependents
Repository
github.com/usiegj00/crystal-netrc
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1