Class: Renuo::Cli::Commands::CreateNewLogins
- Inherits:
-
Object
- Object
- Renuo::Cli::Commands::CreateNewLogins
- Includes:
- CommandHelper
- Defined in:
- lib/renuo/cli/commands/create_new_logins.rb
Constant Summary collapse
- LOGINS =
[{ name: "Sentry", sign_up_url: "https://sentry.io/organizations/renuo/members/new/", steps: ["Click on add new Member"] }, { name: "NewRelic", sign_up_url: "https://rpm.newrelic.com/", steps: ["Click on Renuo", "Account Settings > Add user"] }].freeze
Instance Method Summary collapse
Methods included from CommandHelper
Instance Method Details
#run ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/renuo/cli/commands/create_new_logins.rb', line 19 def run LOGINS.each do |login| say login[:name].yellow login[:steps].each_with_index do |step, index| say "\t#{index + 1}. #{step}" end open_site login[:sign_up_url] end say "every thing is set up".green end |