
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
prysless aims to integrate ruby programs in terminal sessions with lowest harm.
It is based on pry REPL, hence the name.
Add this line to your application's Gemfile:
gem 'prysless'
And then execute:
$ bundle
Or install it yourself as:
$ gem install prysless
All the configuring is done via environment variables, so to me it adds up to editing my bashrc
For example:
export PRYSLESS_ALIASES='l=ls:c=cd'
export PRYSLESS_LIBRARY_PATH="$HOME/dev/ec2l/lib"
export PRYSLESS_REQUIRE="e=ec2l/Ec2l/Client.new:a=pry/[]"
PRYSLESS_REQUIRE tells prysless what objects to preload and how to name them.
So, for example:
e=ec2l/Ec2l/Client.new
Will load into the variable named e Ec2l::Client.new after requiring 'ec2l'.
Because I use the development version of ec2l and not the gem directly, I added my ec2l development library directory to PRYSLESS_LIBRARY_PATH.
Also, I like to add an alias to prysless_store command:
alias p=prysless_store
Just run
prysless
Once in pry shell, you'll be able to access the variables you defined:
[1] pry(<Prysless::Shell>)> e
=> <Ec2l::Client:0x000000022f5e70
...
[2] pry(<Prysless::Shell>)> cd e
[4] pry(<Ec2l::Client>):1> show-doc ins
Lets say you need to share data between your session and an external program:
[8] pry(#<Prysless::Shell>)> s.blah = 'test'
=> "test"
Now on your shell, provided 'p' is an alias to prysless_store:
$ echo I need to $(p blah) some more
I need to test some more
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that prysless demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.