stripe-ruby/exe/stripe-console
Ufuk Kayserilioglu 45a650036e
Move executables to exe folder (#1366)
Conventionally `bin` folder is home to scripts that are meant to be run by developers working on the project, whereas the `exe` folder is used for executables that are meant to be exported by the gem.

The guidance from the Bundler team around this has been live since 2015: https://bundler.io/blog/2015/03/20/moving-bins-to-exe.html

This PR simplifies the gemspec and updates the `bin` folder to `exe` in the gemspec and removes some of the unnecessarily cleanup that was introduced previously.
2024-04-05 14:30:23 -07:00

17 lines
300 B
Ruby
Executable File

#!/usr/bin/env ruby
# frozen_string_literal: true
require "irb"
require "irb/completion"
require "#{File.dirname(__FILE__)}/../lib/stripe"
# Config IRB to enable --simple-prompt and auto indent
IRB.conf[:PROMPT_MODE] = :SIMPLE
IRB.conf[:AUTO_INDENT] = true
puts "Loaded gem 'stripe'"
IRB.start