This file is indexed.

/usr/bin/gli is in ruby-gli 2.14.0-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/ruby

require 'gli'
require 'gli/commands/scaffold'

include GLI::App

program_desc 'create scaffolding for a GLI-powered application'

version GLI::VERSION

# Can't use these without changing the current behavior of gli
# arguments :strict
# subcommand_option_handling :normal

switch :v, :desc => 'Be verbose'

switch :n, :desc => 'Dry run; don''t change the disk'

desc 'Root dir of project'
long_desc <<EOS
This is the directory where the project''s directory will be made, so if you 
specify a project name ''foo'' and the root dir of ''.'', the directory 
''./foo'' will be created'
EOS

flag :r,:root, :default_value => '.'

desc 'Create a new GLI-based project'
long_desc <<EOS
This will create a scaffold command line project that uses GLI
for command line processing.  Specifically, this will create
an executable ready to go, as well as a lib and test directory, all
inside the directory named for your project
EOS
arg :project_name
arg :command_name, [:optional, :multiple]
arg_name "project_name [command_name][, [command_name]]*"
command [:init,:scaffold] do |c|

  c.switch :e,:ext, :desc => 'Create an ext dir'

  c.switch :notest, :desc => 'Do not create a test or features dir', :negatable => false

  c.switch :force, :desc => 'Overwrite/ignore existing files and directories'

  c.switch :rvmrc, :desc => 'Create an .rvmrc based on your current RVM setup'

  c.action do |g,o,args|
    if args.length < 1
      raise 'You must specify the name of your project'
    end
    GLI::Commands::Scaffold.create_scaffold(g[:r],!o[:notest],o[:e],args[0],args[1..-1],o[:force],g[:n],o[:rvmrc])
  end
end

pre do |global,command,options,args|
  puts "Executing #{command.name}" if global[:v]
  true
end

post do |global,command,options,args|
  puts "Executed #{command.name}" if global[:v]
end
exit run(ARGV)