Put Empty scan.features.rb

This commit is contained in:
砍砍 2024-12-06 09:54:22 +08:00
parent a427111607
commit ab54764d4c
1 changed files with 35 additions and 0 deletions

35
src/scan.features.rb Normal file
View File

@ -0,0 +1,35 @@
#!/usr/bin/env ruby
# encoding: utf-8
require 'json'
require 'optparse'
#
# this file was removed due to DMCA report
# following action was taken
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
#
OptionParser.new do |opts|
opts.banner = "Usage: scan.features.rb [options]"
opts.on("-s", "--src-dir PATH", "") do |v|
# empty block
end
opts.on("-f", "--features-file PATH", "") do |v|
# empty block
end
opts.on("-o", "--output PATH", "Output to json file (required)") do |v|
EXPORT_JSON_FILE = File.expand_path(v)
end
opts.on("-h", "--help", "Prints this help") do
puts opts
exit
end
end
.parse!
File.open(EXPORT_JSON_FILE, 'w') { |file| file.write("{}") }