orphic 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orphic.rb +1 -4
- data/lib/orphic/cli.rb +3 -0
- data/lib/orphic/cli/district.rb +65 -0
- data/lib/orphic/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b159c95f4c359b882a1ed9a09df67222c392019bc866a2e0a216929a37fd82b6
|
4
|
+
data.tar.gz: 9141be5a892efb82f756ada709b7b250f30318c600c4580f653f486af8b867ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 766bcc7435f4227994ef12f1b8814640bec7a098dc9bae8011e7e0057914f9cdd91b7c098a9a1c25b3809dece63c2c062123071a76223a1ff3dc4ff8953619d2
|
7
|
+
data.tar.gz: 2a6f9492e8e25b832843733318e571741adf985cc6dd9011f413606047127d21b5fc0759c7fd742dd9b03273b93563d6dfd1b05dc06e46369c9d9ea3b60da67a
|
data/lib/orphic.rb
CHANGED
@@ -2,8 +2,5 @@ require "orphic/version"
|
|
2
2
|
require "orphic/cli"
|
3
3
|
|
4
4
|
module Orphic
|
5
|
-
|
6
|
-
puts "Each terminal represents a pathway that is locked behind a series of keys."
|
7
|
-
puts "Combining the skills gained from each path is possible, but wild paths taken will be less worn."
|
8
|
-
puts "Some of these skills overlap. Learn wisely."
|
5
|
+
# TODO
|
9
6
|
end
|
data/lib/orphic/cli.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'orphic/cli/node'
|
3
|
+
require 'orphic/cli/district'
|
3
4
|
|
4
5
|
module Orphic
|
5
6
|
class Mjolnir < Thor
|
@@ -17,5 +18,7 @@ module Orphic
|
|
17
18
|
end
|
18
19
|
desc "node COMMANDS", "Node.JS Commands"
|
19
20
|
subcommand "node", Orphic::OrphicCli::Node
|
21
|
+
desc "map DISTRICT ...ARGS", "View map for a district"
|
22
|
+
subcommand "map", Orphic::OrphicCli::District
|
20
23
|
end
|
21
24
|
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class District < Thor
|
4
|
+
desc "district", "Commands for a specific district"
|
5
|
+
long_desc <<-DISTRICT
|
6
|
+
Commands for a specific district.
|
7
|
+
|
8
|
+
View districts with <district>. Base map includes the following options for branching:
|
9
|
+
|
10
|
+
--awake - The entrypoint, learn more about the Awake district with this option. Aliased with --aw
|
11
|
+
--grow - This typically involves UI/UX and likely what led you to this CLI. Growth continues... Aliased with --gr
|
12
|
+
--discover - Your current location, learn more about the Discover district with this option. Aliased with --di
|
13
|
+
--trust - Relates to cryptography and cyphers.
|
14
|
+
--truth - Relates to verified authorizations.
|
15
|
+
--magic - Let the magic begin! Related to ephemeral changes and middleware.
|
16
|
+
--poetry - The poet, the lover, and the coder are of imagination all compact...
|
17
|
+
--drive - Relates to real-time commands that will effect a concurrent stream or processes.
|
18
|
+
--will - Relates to databases and permanence.
|
19
|
+
--loyal - The gauntlet.
|
20
|
+
--enthuse - Relates to live events and promotions.
|
21
|
+
--clarity - The endgame.
|
22
|
+
|
23
|
+
Or with <createDistrict>, create a new district.
|
24
|
+
DISTRICT
|
25
|
+
option :awake
|
26
|
+
option :grow
|
27
|
+
option :discover
|
28
|
+
option :trust
|
29
|
+
option :truth
|
30
|
+
option :magic
|
31
|
+
option :poetry
|
32
|
+
option :drive
|
33
|
+
option :will
|
34
|
+
option :loyal
|
35
|
+
option :enthuse
|
36
|
+
option :clarity
|
37
|
+
def district( viewDistrict )
|
38
|
+
# implement viewDistrict
|
39
|
+
baseAwake = "Awake District info" if options[:awake]
|
40
|
+
baseGrow = "Grow District info" if options[:grow]
|
41
|
+
baseDiscover = "Discover District info" if options[:discover]
|
42
|
+
baseTrust = "Trust District info" if options[:trust]
|
43
|
+
baseTruth = "Truth District info" if options[:truth]
|
44
|
+
baseMagic = "Magic District info" if options[:magic]
|
45
|
+
basePoetry = "Poetry District info" if options[:poetry]
|
46
|
+
baseDrive = "Drive District info" if options[:drive]
|
47
|
+
baseWill = "Will District info" if options[:will]
|
48
|
+
baseLoyal = "Loyal District info" if options[:loyal]
|
49
|
+
baseEnthuse = "Enthuse District info" if options[:enthuse]
|
50
|
+
baseClarity = "Clarity District info" if options[:clarity]
|
51
|
+
puts "#{viewDistrict}"
|
52
|
+
end
|
53
|
+
desc "createDistrict", "Create a new district with <createDistrict>"
|
54
|
+
long_desc <<-CREATE_DISTRICT
|
55
|
+
Create a new district with createDistrict.
|
56
|
+
|
57
|
+
TODO
|
58
|
+
CREATE_DISTRICT
|
59
|
+
def createDistrict ( createDistrict )
|
60
|
+
# implement createDistrict
|
61
|
+
puts "#{createDistrict}"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
data/lib/orphic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orphic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle OBrien
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- exe/orphic
|
160
160
|
- lib/orphic.rb
|
161
161
|
- lib/orphic/cli.rb
|
162
|
+
- lib/orphic/cli/district.rb
|
162
163
|
- lib/orphic/cli/node.rb
|
163
164
|
- lib/orphic/version.rb
|
164
165
|
- orphic.gemspec
|
@@ -169,7 +170,7 @@ metadata:
|
|
169
170
|
bug_tracker_uri: https://github.com/orphic-inc/ruby-orphic-cli/issues
|
170
171
|
changlog_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/CHANGELOG.md
|
171
172
|
documentation_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/README.md
|
172
|
-
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.
|
173
|
+
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.3
|
173
174
|
wiki_uri: https://github.com/orphic-inc/ruby-orphic-cli/wiki
|
174
175
|
post_install_message:
|
175
176
|
rdoc_options: []
|