arches / marco-polo Goto Github PK
View Code? Open in Web Editor NEWMarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production
Would be easier to read :)
No, it's not 1990 Netscape Navigator nostalgia... I want to make our production environment's console prompt much more obvious than staging and development. Can I use marco-polo to change the color of the prompt or make it blink?
Just answered my own question...
http://misc.flogisoft.com/bash/tip_colors_and_formatting
I have these in my gemfile:
gem 'pry-rails'
gem 'pry-doc'
gem 'marco-polo'
When I run rails c, I see this:
โ rails c
Loading development environment (Rails 4.0.1)
[1] pry(main)>
Would be great to have pry support since it greatly improves the stock rails console.
marco-polo-1.2.1/lib/marco-polo/marco-polo.irbrc.rb:8:in <main>': DEPRECATION WARNING:
Module#parent_namehas been renamed to
module_parent_name.
parent_name` is deprecated and will be removed in Rails 6.1. (called from
Hey, I really like pry-rails but not everybody on my team does. What do you think of having some way to include it in your Gemfile, but only activate it if a certain env var or configuration option is enabled?
Pry.config.prompt
used here is deprecated since pry 0.13.0.
https://github.com/pry/pry/blob/5805952cf32f320508df6a5ba4f768b9f4394805/CHANGELOG.md?plain=1#L114-L120
pry with marco-polo now prints the following warning:
warning: setting prompt with help of `Pry.config.prompt = [proc {}, proc {}]` is deprecated. Use Pry::Prompt API instead
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.