
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Table of Contents
cliqr
is a lightweight yet feature rich framework which can be used to
build a powerful command line application. It provides a easy to use DSL
to define the interface of a application. Some of the features included:
The DSL provides several helper methods to build interfaces of different
styles. Please refer to the examples folder to find some useful tips on
how to use cliqr
.
To get things started quickly here is an example of a basic cliqr
based CLI application (lets call this script greet
):
#!/usr/bin/env ruby
require 'cliqr'
cli = Cliqr.interface do
name 'greet'
description 'A "hello world" app to demonstrate cliqr.'
version '0.0.1' # optional; adds a version action to our simple command
# main command handler
handler do
puts "Hi #{name}" if name? # name is command's option defined below
puts "Please tell me your name" unless name?
end
option :name do
description 'Your name.'
end
end
cli.execute(ARGV)
Here is a screen capture of this script in action:
Add this line to your application's Gemfile:
gem 'cliqr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cliqr
There are various metric with different thresholds settings that needed to be satisfied for a successful build. Here is a list:
rubocop
to make sure the code style checks are maintainedyardstick
to measure document coveragecodeclimate
to make we ship quality codecoveralls
to measure code coveragerdoc
to build and measure documentationTo run all of the above, simply run:
$ rake
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that cliqr 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.