From ab54764d4c8150331b478a8e18bf45bd755b7ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=8D=E7=A0=8D?= Date: Fri, 6 Dec 2024 09:54:22 +0800 Subject: [PATCH] Put Empty scan.features.rb --- src/scan.features.rb | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/scan.features.rb diff --git a/src/scan.features.rb b/src/scan.features.rb new file mode 100644 index 000000000..f994516 --- /dev/null +++ b/src/scan.features.rb @@ -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("{}") }