depo-cli 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/bin/depo +5 -0
  3. data/lib/depo/cli.rb +14 -0
  4. data/lib/depo-cli.rb +3 -0
  5. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d4b83e4c518827cff19eb5345c3da0a96fed20013eefdcba746eed928d358ae4
4
+ data.tar.gz: aab09a3d8a4b7fa5392fb63e94253dfa7ae2cd7e186a6ccd3786911cd8314420
5
+ SHA512:
6
+ metadata.gz: c938705fcb67eec225f43692f97e56df0b336df32e80c4214c0d5752be76adb99d4bbaa240840025a2e2578a5dd077d26714545cc0c0c99a6fc04567c442cdc4
7
+ data.tar.gz: a7c84327d91446dd7076826efdf0c6e828fa31d45ae8db3313f42e797f7e7080eec905042cefc6c7cdedfc03f8ff51594d3fbf4ead265326c6dd6f69ce7722b9
data/bin/depo ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require_relative "../lib/depo-cli"
5
+ Depo::CLI.start(ARGV)
data/lib/depo/cli.rb ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Depo
4
+ class CLI
5
+ def self.start(args)
6
+ if args.first == 'test'
7
+ puts 'Test successful'
8
+ else
9
+ puts 'Unknown command'
10
+ exit 1
11
+ end
12
+ end
13
+ end
14
+ end
data/lib/depo-cli.rb ADDED
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "depo/cli"
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: depo-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Your Name
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-05-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: A simple CLI tool that provides the 'depo' command.
13
+ email:
14
+ - your.email@example.com
15
+ executables:
16
+ - depo
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/depo
21
+ - lib/depo-cli.rb
22
+ - lib/depo/cli.rb
23
+ homepage: https://example.com
24
+ licenses:
25
+ - MIT
26
+ metadata:
27
+ allowed_push_host: https://rubygems.org
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubygems_version: 3.6.2
43
+ specification_version: 4
44
+ summary: A simple CLI tool for depo.
45
+ test_files: []