sue445/gitlab_mr_release

View on GitHub
bin/console

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

require "bundler/setup"
require "gitlab_mr_release"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

require "dotenv"
Dotenv.load(".env.gitlab", "~/.env.gitlab")

@project = GitlabMrRelease::Project.new(
  api_endpoint:  ENV["GITLAB_API_ENDPOINT"],
  private_token: ENV["GITLAB_API_PRIVATE_TOKEN"],
  project_name:  ENV["GITLAB_PROJECT_NAME"],
)

require "irb"
IRB.start