TTY
Rake
Our great sponsors
TTY | Rake | |
---|---|---|
7 | 17 | |
2,478 | 2,304 | |
- | 0.5% | |
0.0 | 8.1 | |
over 1 year ago | 3 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TTY
-
Ncurses in Ruby style?
Not curses but something Ruby style: https://ttytoolkit.org/. No C dependencies, I think...
-
I'd like to read manually input data and prompt for the next bit of data at the terminal without getting newlines.
TTY-ruby is an extensive CLI toolkit that might help you do what you want. Have a look. I’ve used some of them successfully in the past.
-
What library can I use to create a TUI
TUI? Terminal UI? If so, check out https://ttytoolkit.org/ and https://github.com/Shopify/cli-ui
-
Looking for a tutorial or a resource to write good looking CLI applications
Saw just now. Cobra is huge and offers a lot. Btw, I've used this https://github.com/piotrmurach/tty for a Ruby project a while ago and was looking for something similar. I guess Cobra it is. Thanks again!
-
How to get better at Ruby scripting?
If you're interested in taking things further, maybe have a look at Build Awesome Command-Line Applications in Ruby 2. If you're not ready to buy a book, check out the Ruby TTY Toolkit page.
-
Building Rich terminal dashboards
The tty suite of tools are a good shout, although I've never used them in anger. https://ttytoolkit.org
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
TTY::Box provides box drawing component for TTY toolkit. 142 stars by now
Rake
-
What’s with DevOps engineers using `make` of all things?
Some competitors - Rake (ruby) - Bake - Earthly - SCons - doit
-
An Introduction to Metaprogramming in Ruby
where every argument except the name can either be missing, single (value) or multiple (array). Sure, it has the "advantage" that it's syntactically valid Ruby code, but it then requires some 70 lines of awful code to actually parse that data into a usable construct ([1] up to L145).
[1] https://github.com/ruby/rake/blob/7b50e9dc37abc57fd365c16cb1...
-
Taskfile: A Modern Alternative to Makefile
Rake[0] is still the best ‘make-like’ build tool I’ve used for general purpose stuff. The syntax is nice and it’s just Ruby which is a delight. I briefly used Mage (similar, but Go) and it was fine too.
[0]: https://github.com/ruby/rake
-
Knit: Making a Better Make
Yup! Two well-established alternatives are "rake", in the Ruby community, and "just" in the Rust community.
Rake is fully programmable in Ruby. Just is a bit less flexible, but it doesn't require learning Ruby, and it's quite pleasant to use.
https://ruby.github.io/rake/
-
Anyone have any good Ruby repos that showcase best practices?
Rake is a great way to homogenize and declare common behaviors of your script (called "tasks"); a guide.
-
Write your own Domain Specific Language in Ruby
In Ruby there's a gem named Rake. This gem provides a DSL to create tasks to be run from the command line. A small example looks like this:
-
Ruby
I think you're referring to Rake. https://ruby.github.io/rake/
- Fastlane: iOS 和 Android 的自动化构建工具
-
What about a CMake transpiler?
We use [Rake](https://github.com/ruby/rake) instead - it's awesome.
-
How to Access Rails ActiveRecord Models Inside a Rake Task
If you've been working with Ruby on Rails for a while, you've come across Rake. Written by the late Jim Weirich, Rake is to Ruby what Make is to C. It's very easy to create custom Rake tasks to simplify your development workflows. Rails even provides a generator (rails g task) to create them for you.
What are some alternatives?
Thor - Thor is a toolkit for building powerful command-line interfaces.
Commander - The complete solution for Ruby command-line executables
Bazel - a fast, scalable, multi-language and extensible build system
Cocaine
GLI - Make awesome command-line applications the easy way
Slop - Simple Lightweight Option Parsing - ✨ new contributors welcome ✨
Trollop - Optimist is a commandline option parser for Ruby that just gets out of your way.
Gemsmith - A command line interface for smithing Ruby gems.
dry-cli - General purpose Command Line Interface (CLI) framework for Ruby