avs 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +6 -0
  3. data/avs.rdoc +5 -0
  4. data/bin/avs +62 -0
  5. metadata +109 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5bb99919abb59c669c0bcdb832755f893aa4c882e1393914b70f14192af603cb
4
+ data.tar.gz: 43d608e74bfde138cf7a879e905db2244fdacdba3abf9919822825411efa3bfb
5
+ SHA512:
6
+ metadata.gz: 3ffc5c54d18016ee458012ac4e41ecfae27dd0eac9f6961758ab84a37e2365832e5ba7e9760aab661bfa75daaf4101dcdb966d3b12b1aef73f0c84598801f5be
7
+ data.tar.gz: 167d7e2663fb659649d986af8d269ea3d7023396e5f2e936c3a8ed68929ad468666bb41dde58cc82c8a3b230598147a6e219664354136c67265de0b7987ee383
data/README.rdoc ADDED
@@ -0,0 +1,6 @@
1
+ = avs
2
+
3
+ Describe your project here
4
+
5
+ :include:avs.rdoc
6
+
data/avs.rdoc ADDED
@@ -0,0 +1,5 @@
1
+ = avs
2
+
3
+ Generate this with
4
+ avs _doc
5
+ After you have described your command line interface
data/bin/avs ADDED
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env ruby
2
+ require 'gli'
3
+ require_relative '../lib/avs'
4
+
5
+ class App
6
+ extend GLI::App
7
+
8
+ program_desc 'Describe your application here'
9
+
10
+ version Avs::VERSION
11
+
12
+ subcommand_option_handling :normal
13
+ arguments :strict
14
+
15
+ desc 'Describe some switch here'
16
+ switch [:s,:switch]
17
+
18
+ desc 'Describe some flag here'
19
+ default_value 'the default'
20
+ arg_name 'The name of the argument'
21
+ flag [:f,:flagname]
22
+
23
+
24
+ desc 'Describe vulnerability here'
25
+ arg_name 'Describe arguments to vulnerability here'
26
+ command :vulnerability do |c|
27
+ c.action do |global_options,options,args|
28
+ puts "vulnerability command ran"
29
+ end
30
+ end
31
+
32
+ desc 'Describe solution here'
33
+ arg_name 'Describe arguments to solution here'
34
+ command :solution do |c|
35
+ c.action do |global_options,options,args|
36
+ puts "solution command ran"
37
+ end
38
+ end
39
+
40
+ pre do |global,command,options,args|
41
+ # Pre logic here
42
+ # Return true to proceed; false to abort and not call the
43
+ # chosen command
44
+ # Use skips_pre before a command to skip this block
45
+ # on that command only
46
+ true
47
+ end
48
+
49
+ post do |global,command,options,args|
50
+ # Post logic here
51
+ # Use skips_post before a command to skip this
52
+ # block on that command only
53
+ end
54
+
55
+ on_error do |exception|
56
+ # Error logic here
57
+ # return false to skip default error handling
58
+ true
59
+ end
60
+ end
61
+
62
+ exit App.run(ARGV)
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: avs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Christian Kyony
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-03-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gli
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.21.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.21.1
69
+ description:
70
+ email: ckyony@changamuka.com
71
+ executables:
72
+ - avs
73
+ extensions: []
74
+ extra_rdoc_files:
75
+ - README.rdoc
76
+ - avs.rdoc
77
+ files:
78
+ - README.rdoc
79
+ - avs.rdoc
80
+ - bin/avs
81
+ homepage: http://your.website.com
82
+ licenses: []
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options:
86
+ - "--title"
87
+ - avs
88
+ - "--main"
89
+ - README.rdoc
90
+ - "-ri"
91
+ require_paths:
92
+ - lib
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubygems_version: 3.3.7
106
+ signing_key:
107
+ specification_version: 4
108
+ summary: A description of your project
109
+ test_files: []