aro 0.2.1 → 0.2.3
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/aro.gemspec +3 -3
- data/bin/aos +10 -3
- data/bin/aro +18 -11
- data/checksums/aro-0.2.1.gem.sha512 +1 -0
- data/checksums/aro-0.2.2.gem.sha512 +1 -0
- data/checksums/aro-0.2.3.gem.sha512 +1 -0
- data/locale/en.abot.yml +81 -0
- data/locale/en.amg.yml +44 -0
- data/locale/en.aos.yml +8 -38
- data/locale/en.cor.yml +47 -0
- data/locale/en.data.yml +30 -0
- data/locale/en.dom.yml +22 -18
- data/locale/en.flie.yml +29 -0
- data/locale/en.usage.yml +39 -26
- data/locale/en.yml +10 -51
- data/sys/aos/abot.rb +256 -0
- data/sys/aos/amg.rb +58 -56
- data/sys/aos/aos.rb +425 -180
- data/sys/aos/cor.rb +773 -0
- data/sys/aos/data.rb +117 -0
- data/sys/aos/db/migrate/1765148774_create_yous.rb +1 -0
- data/sys/aos/db/migrate/{1765762724_create_libs.rb → 1765762724_create_ilibs.rb} +5 -5
- data/sys/aos/db/migrate/1765907766_create_ilogs.rb +18 -0
- data/sys/aos/db/migrate/1765933985_create_agodos.rb +22 -0
- data/sys/aos/db/migrate/1766203888_create_fpxies.rb +18 -0
- data/sys/aos/db.rb +47 -27
- data/sys/aos/flie.rb +144 -0
- data/sys/aos/models/agodo.rb +96 -0
- data/sys/aos/models/base_model.rb +13 -0
- data/sys/aos/models/fpxy.rb +28 -0
- data/sys/{shr/lib/lib.rb → aos/models/ilib.rb} +11 -6
- data/sys/aos/models/ilog.rb +29 -0
- data/sys/aos/models/you.rb +98 -0
- data/sys/aos/s.rb +2 -1
- data/sys/aos/vws/base.rb +69 -78
- data/sys/aos/vws/dom.rb +1 -2
- data/sys/aos/vws/games/abot.rb +21 -0
- data/sys/aos/vws/games/{game.rb → teck.rb} +27 -24
- data/sys/aos/vws/home.rb +23 -0
- data/sys/aos/vws/know/{temple.rb → body.rb} +3 -3
- data/sys/aos/vws/know/{library.rb → mind.rb} +3 -3
- data/sys/aos/vws/know/spirit.rb +19 -0
- data/sys/aos/vws/{setup → root}/amg.rb +1 -2
- data/sys/aos/vws/{setup → root}/config.rb +4 -4
- data/sys/aos/vws/root/data.rb +21 -0
- data/sys/aos/vws/root/flie.rb +21 -0
- data/sys/aos/vws/{setup.rb → root.rb} +3 -3
- data/sys/aos/vws/welcome/waite.rb +1 -0
- data/sys/aos/vws/welcome.rb +47 -0
- data/sys/aro/d.rb +4 -2
- data/sys/aro/db/migrate/{1763374647_create_decks.rb → 1763374647_create_tecks.rb} +5 -5
- data/sys/aro/db/migrate/1763432541_create_tlogs.rb +20 -0
- data/sys/aro/db.rb +28 -19
- data/sys/aro/mancy.rb +18 -22
- data/sys/aro/models/base_model.rb +13 -0
- data/sys/{models/deck.rb → aro/models/teck.rb} +60 -57
- data/sys/aro/models/tlog.rb +21 -0
- data/sys/aro/p.rb +1 -1
- data/sys/aro/r.rb +2 -1
- data/sys/aro/v.rb +2 -2
- data/sys/cli/constants.rb +4 -10
- data/sys/cli/create.rb +2 -3
- data/sys/cli/dom.rb +1 -2
- data/sys/cli/{deck.rb → teck.rb} +38 -45
- data/sys/cli.rb +10 -11
- data/sys/dom/d.rb +68 -46
- data/sys/dom/dom.rb +79 -44
- data/sys/dom/p.rb +1 -1
- data/sys/fpx.rb +116 -0
- data/sys/reiquire.rb +8 -8
- data/sys/shr/prompt.rb +2 -6
- data/sys/shr/t.rb +11 -13
- data/sys/shr/version.rb +1 -1
- data/tasks/make.rake +1 -1
- metadata +82 -62
- data/locale/en.cngelog.yml +0 -5
- data/sys/aos/vws/games/abpps.rb +0 -19
- data/sys/aos/vws/games/hbpps.rb +0 -19
- data/sys/aos/vws/games/shpps.rb +0 -19
- data/sys/aos/vws/games/vipps.rb +0 -19
- data/sys/aos/you.rb +0 -21
- data/sys/aro/db/migrate/1763432541_create_logs.rb +0 -20
- data/sys/dom/config.rb +0 -665
- data/sys/models/log.rb +0 -20
- /data/sys/shr/{lib → ilib}/crs/CMakeLists.txt +0 -0
- /data/sys/shr/{lib → ilib}/crs/compile.sh +0 -0
- /data/sys/shr/{lib → ilib}/crs/crs.c +0 -0
- /data/sys/shr/{lib → ilib}/crs/crs.o +0 -0
- /data/sys/shr/{lib → ilib}/crs/libcrs.so +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fbe5d3c80bb0ee155fda4ff9c3b3f977098304642b3633196dadad7883d281e
|
|
4
|
+
data.tar.gz: effa7d459255498ba45e38a0096a055e1a5fa5b8718bacb63db1651ef5584703
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 829b44b60ae9b5190025d58dae70b2559ae122576e8e9746a459e3ae597cf8a6c725b716aa3e1ded97d5dc8d66861c46c94847963ac44e1ff6f41f4ecd9a2c97
|
|
7
|
+
data.tar.gz: d809fef60f8d2620a0e579e38ceafb0242d4a3621083a256248054a20b06f568b1bfc4e3f0768f4d8d651e8e0e63d0b7487c67f4864255ca0c908be23e34cf67
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
##### __current version:__
|
|
5
5
|
[](https://badge.fury.io/rb/aro)
|
|
6
6
|
|
|
7
|
-
aro is a command line interface that allows you to manage multiple tarot
|
|
7
|
+
aro is a command line interface that allows you to manage multiple tarot tecks.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
### install
|
data/aro.gemspec
CHANGED
|
@@ -27,14 +27,14 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
# development gems
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 2.7", ">= 2.7.2"
|
|
30
|
+
spec.add_development_dependency "listen", "~> 3.9", ">= 3.9.0"
|
|
30
31
|
spec.add_development_dependency "rake", "~> 13.3", ">= 13.3.1"
|
|
31
32
|
spec.add_development_dependency "rspec", "~> 3.13", ">= 3.13.2"
|
|
32
|
-
spec.add_development_dependency "listen", "~> 3.9", ">= 3.9.0"
|
|
33
33
|
|
|
34
34
|
# runtime gems
|
|
35
|
-
spec.add_runtime_dependency "i18n", "~> 1.14", ">= 1.14.7"
|
|
36
35
|
spec.add_runtime_dependency "activerecord", "~> 8.1", ">= 8.1.1"
|
|
36
|
+
spec.add_runtime_dependency "ffi", "~> 1.17", ">= 1.17.2"
|
|
37
|
+
spec.add_runtime_dependency "i18n", "~> 1.14", ">= 1.14.7"
|
|
37
38
|
spec.add_runtime_dependency "sqlite3", "~> 2.8", ">= 2.8.0"
|
|
38
39
|
spec.add_runtime_dependency "tty-prompt", "~> 0.23.1", ">= 0.23.1"
|
|
39
|
-
spec.add_runtime_dependency "ffi", "~> 1.17", ">= 1.17.2"
|
|
40
40
|
end
|
data/bin/aos
CHANGED
|
@@ -17,8 +17,15 @@ unless Aro::Dom.in_arodom?
|
|
|
17
17
|
exit(CLI::EXIT_CODES[:GENERAL_ERROR])
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
unless Aro::Dom.is_initialized?
|
|
21
|
+
Aos::S.say(I18n.t("cli.errors.not_initialized_dom" , cmd: Aro::Dom.name))
|
|
22
|
+
exit(CLI::EXIT_CODES[:GENERAL_ERROR])
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
if CLI::ARGV0 == :fpx
|
|
26
|
+
Aos.fpx
|
|
27
|
+
elsif CLI::ARGV0.nil? || CLI::ARGV0 == Aos::Os::YOU_FLAG.to_sym
|
|
28
|
+
exit(Aos.run)
|
|
22
29
|
else
|
|
23
|
-
exit(Aos
|
|
30
|
+
exit(Aos.process)
|
|
24
31
|
end
|
data/bin/aro
CHANGED
|
@@ -15,6 +15,14 @@ require :aro.to_s
|
|
|
15
15
|
# todo: add tab completion using abbrev gem
|
|
16
16
|
# https://stackoverflow.com/a/11627931
|
|
17
17
|
|
|
18
|
+
Aro::V.say(ARGV)
|
|
19
|
+
if ARGV.include?(Aos::Os::YOU_FLAG)
|
|
20
|
+
Aos::Db.load
|
|
21
|
+
yfi = ARGV.index(Aos::Os::YOU_FLAG)
|
|
22
|
+
Aos::Os.instance.you = Aos::You.find_by(name: ARGV[yfi + Aro::Mancy::S]&.strip)
|
|
23
|
+
Aos::Os.instance.you_flag = Aos::You.find_by(name: ARGV[yfi + Aro::Mancy::S]&.strip)
|
|
24
|
+
end
|
|
25
|
+
|
|
18
26
|
if CLI::FLAGS[:VERSION].include?(CLI::ARGV0)
|
|
19
27
|
Aro::P.say(Aro::VERSION)
|
|
20
28
|
exit(CLI::EXIT_CODES[:SUCCESS])
|
|
@@ -22,22 +30,21 @@ end
|
|
|
22
30
|
|
|
23
31
|
# cli parser
|
|
24
32
|
case CLI::ARGV0
|
|
25
|
-
when CLI::CMDS[:ARO][:
|
|
26
|
-
|
|
33
|
+
when CLI::CMDS[:ARO][:COR]
|
|
34
|
+
Aos.cor
|
|
27
35
|
when CLI::CMDS[:ARO][:CREATE]
|
|
28
|
-
CLI
|
|
29
|
-
when CLI::CMDS[:ARO][:
|
|
30
|
-
CLI
|
|
36
|
+
CLI.create
|
|
37
|
+
when CLI::CMDS[:ARO][:TECK]
|
|
38
|
+
CLI.teck
|
|
31
39
|
when CLI::CMDS[:ARO][:DOM]
|
|
32
|
-
CLI
|
|
40
|
+
CLI.dom
|
|
33
41
|
when CLI::CMDS[:ARO][:INIT]
|
|
34
42
|
Aro::Mancy.init
|
|
35
43
|
else
|
|
36
|
-
unless Aro::Mancy.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
# end
|
|
44
|
+
unless Aro::Mancy.teck.nil? || CLI::FLAGS[:HELP].include?(CLI::ARGV0)
|
|
45
|
+
Aro::P.say(I18n.t("cli.messages.welcome", name: "#{Aro::Teck.name}"))
|
|
46
|
+
Aro::Mancy.init
|
|
47
|
+
Aro::Mancy.teck.show
|
|
41
48
|
|
|
42
49
|
exit(CLI::EXIT_CODES[:SUCCESS])
|
|
43
50
|
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
98e520a4e76c2a04f79f7b7207759dae278b366625735757c7612b75fddf5acdd0d0942fb613a0c8ecc5cb8304814a09fd0336f775df46c164a7a13397400a5f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
580e42a13fb83232b8282a3d2888ced1fc36790739ebc8b5c3bf99b9d7c5664f10d117d967a2d75896c7a2cabfbe84e628b3359d7f4d6771a2cad4784cd178e5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3c78d3faf63de8602effcf4879c506e33a7307a01c6891eb7a2ca16828bb7ffc348860179dccd9cb3bc4585d1d691917f337a4049f31bd39232ee829fdffb5c8
|
data/locale/en.abot.yml
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
en:
|
|
2
|
+
abot:
|
|
3
|
+
commands:
|
|
4
|
+
description:
|
|
5
|
+
agodo: "create or list agodos."
|
|
6
|
+
derez: "destroy an agodo."
|
|
7
|
+
rate: "update an agodo's rate."
|
|
8
|
+
stop: "power off an agodo."
|
|
9
|
+
start: "power on an agodo."
|
|
10
|
+
usage:
|
|
11
|
+
agodo: "$ abot agodo <go> <do> <rate>"
|
|
12
|
+
derez: "$ abot derez <name>"
|
|
13
|
+
rate: "$ abot rate <name> <rate>"
|
|
14
|
+
stop: "abot stop <name>"
|
|
15
|
+
start: "abot start <name>"
|
|
16
|
+
agodo:
|
|
17
|
+
display: "power: %{power}, go: %{go}, do: %{do}, rate: %{rate}, home: %{home}"
|
|
18
|
+
messages:
|
|
19
|
+
invalid_agodo_cmd: "the command you entered is not valid. see abot agodo usage."
|
|
20
|
+
invalid_do: "invalid do command."
|
|
21
|
+
invalid_go: "invalid go location."
|
|
22
|
+
invalid_rate: "invalid rate value."
|
|
23
|
+
listing_agodos: "listing agodos..."
|
|
24
|
+
no_agodos: "no agodos."
|
|
25
|
+
|
|
26
|
+
usage: |
|
|
27
|
+
|
|
28
|
+
abot [-h | --help] <command>
|
|
29
|
+
fun with cron and agodos.
|
|
30
|
+
|
|
31
|
+
go to the directory where you want to spawn an agodo
|
|
32
|
+
and use the 'abot agodo' command to create one there.
|
|
33
|
+
note: passing no arguments to abot agodo will bring
|
|
34
|
+
you back to the abot room unless you pass args for
|
|
35
|
+
<go> <do> and <rate>.
|
|
36
|
+
|
|
37
|
+
COMMANDS
|
|
38
|
+
|
|
39
|
+
agodo
|
|
40
|
+
creates an agodo in pwd.
|
|
41
|
+
agodos always return to where they spawned after doing.
|
|
42
|
+
if started, an agodo will "go and do" on a cron based on the
|
|
43
|
+
agodo's rate setting.
|
|
44
|
+
|
|
45
|
+
rate units are:
|
|
46
|
+
|
|
47
|
+
agodos/minute
|
|
48
|
+
|
|
49
|
+
to list agodos:
|
|
50
|
+
|
|
51
|
+
$ abot agodo
|
|
52
|
+
|
|
53
|
+
to create an agodo:
|
|
54
|
+
|
|
55
|
+
$ abot agodo <go> <do> <rate>
|
|
56
|
+
|
|
57
|
+
parameters:
|
|
58
|
+
<go>: valid arodome room name.
|
|
59
|
+
<do>: valid aos cmd.
|
|
60
|
+
<rate>: agodo cycles-per-minute.
|
|
61
|
+
|
|
62
|
+
derez
|
|
63
|
+
destroy an agodo:
|
|
64
|
+
|
|
65
|
+
$ abot derez <name>
|
|
66
|
+
|
|
67
|
+
rate
|
|
68
|
+
update an agodo's rate:
|
|
69
|
+
|
|
70
|
+
$ abot rate <name> <rate>
|
|
71
|
+
|
|
72
|
+
stop
|
|
73
|
+
power off an agodo:
|
|
74
|
+
|
|
75
|
+
$ abot stop <name>
|
|
76
|
+
|
|
77
|
+
start
|
|
78
|
+
power on an agodo:
|
|
79
|
+
|
|
80
|
+
$ abot start <name>
|
|
81
|
+
|
data/locale/en.amg.yml
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
en:
|
|
2
|
+
amg:
|
|
3
|
+
commands:
|
|
4
|
+
description:
|
|
5
|
+
inst: "show installed ilibs or install a lib."
|
|
6
|
+
instun: "show uninstalled ilibs or uninstall a lib."
|
|
7
|
+
usage:
|
|
8
|
+
inst: "$ amg inst <lib>"
|
|
9
|
+
instun: "$ amg instun <lib>"
|
|
10
|
+
messages:
|
|
11
|
+
already_installed: "%{name} lib is already installed."
|
|
12
|
+
cannot_locate: "could not find %{name} lib."
|
|
13
|
+
ilib_name: "name: %{name}"
|
|
14
|
+
ilib_path: "path: %{path}"
|
|
15
|
+
ilib_usage: "usage: %{usage}"
|
|
16
|
+
install_success: "%{name} installed successfully."
|
|
17
|
+
install_failure: "failed to install %{name}."
|
|
18
|
+
listing_available: "listing available ilibs..."
|
|
19
|
+
listing_installed: "listing installed ilibs..."
|
|
20
|
+
none_available: "no ilibs available for install."
|
|
21
|
+
none_installed: "no ilibs installed."
|
|
22
|
+
not_installed: "%{name} lib is not installed."
|
|
23
|
+
uninstall_success: "%{name} uninstalled successfully."
|
|
24
|
+
uninstall_failure: "failed to uninstall %{name}."
|
|
25
|
+
usage: |
|
|
26
|
+
|
|
27
|
+
amg [-h | --help] <command>
|
|
28
|
+
aos system management.
|
|
29
|
+
|
|
30
|
+
COMMANDS
|
|
31
|
+
|
|
32
|
+
inst
|
|
33
|
+
show installed ilibs.
|
|
34
|
+
|
|
35
|
+
install a lib named <lib>.
|
|
36
|
+
|
|
37
|
+
$ amg inst <lib>
|
|
38
|
+
|
|
39
|
+
instun
|
|
40
|
+
show uninstalled ilibs.
|
|
41
|
+
|
|
42
|
+
uninstall a lib named <lib>.
|
|
43
|
+
|
|
44
|
+
$ amg instun <lib>
|
data/locale/en.aos.yml
CHANGED
|
@@ -1,56 +1,26 @@
|
|
|
1
1
|
en:
|
|
2
2
|
aos:
|
|
3
|
-
amg:
|
|
4
|
-
lib:
|
|
5
|
-
listing_available: "listing available libs..."
|
|
6
|
-
listing_installed: "listing installed libs..."
|
|
7
|
-
none_available: "no libs available for install."
|
|
8
|
-
none_installed: "no libs installed."
|
|
9
|
-
commands:
|
|
10
|
-
description:
|
|
11
|
-
inst: "show installed libs or install a lib."
|
|
12
|
-
instun: "show uninstalled libs or uninstall a lib."
|
|
13
|
-
usage:
|
|
14
|
-
inst: "$ amg inst <lib>"
|
|
15
|
-
instun: "$ amg instun <lib>"
|
|
16
|
-
usage: |
|
|
17
|
-
|
|
18
|
-
amg [-h | --help] <command>
|
|
19
|
-
aos system management.
|
|
20
|
-
|
|
21
|
-
COMMANDS
|
|
22
|
-
|
|
23
|
-
inst
|
|
24
|
-
show installed libs.
|
|
25
|
-
|
|
26
|
-
install a lib named <lib>.
|
|
27
|
-
|
|
28
|
-
$ amg inst <lib>
|
|
29
|
-
|
|
30
|
-
instun
|
|
31
|
-
show uninstalled libs.
|
|
32
|
-
|
|
33
|
-
uninstall a lib named <lib>.
|
|
34
|
-
|
|
35
|
-
$ amg instun <lib>
|
|
36
|
-
|
|
37
3
|
commands:
|
|
38
4
|
description:
|
|
5
|
+
abot: "fun with cron."
|
|
39
6
|
amg: "manage aos. a tool for package installation/management."
|
|
40
7
|
cd: "change directory. no args navigates to arodome root."
|
|
41
|
-
|
|
42
|
-
|
|
8
|
+
cor: "read/write aos vars. (enter vars lowercase excluding bash prefix)."
|
|
9
|
+
data: "manage aos data."
|
|
43
10
|
exit: "exit."
|
|
11
|
+
flie: "flie management."
|
|
44
12
|
help: "help."
|
|
45
13
|
ll: "list files and folders in the pwd including hidden files."
|
|
46
14
|
ls: "list files and folders in the pwd."
|
|
47
15
|
pwd: "show pwd."
|
|
48
16
|
usage:
|
|
17
|
+
abot: "$ abot [-h | --help] <command>"
|
|
49
18
|
amg: "$ amg [-h | --help] <command>"
|
|
50
19
|
cd: "$ cd <name>"
|
|
51
|
-
|
|
52
|
-
|
|
20
|
+
cor: "$ cor <var_name> <var_value>"
|
|
21
|
+
data: "$ data [-h | --help] <command>"
|
|
53
22
|
exit: "$ exit"
|
|
23
|
+
flie: "$ flie"
|
|
54
24
|
help: "$ help"
|
|
55
25
|
ll: "$ ll"
|
|
56
26
|
ls: "$ ls"
|
data/locale/en.cor.yml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
en:
|
|
2
|
+
cor:
|
|
3
|
+
aro_env:
|
|
4
|
+
O_description: "read-only env var for holding O."
|
|
5
|
+
S_description: "read-only env var for holding S."
|
|
6
|
+
OS_description: "read-only env var for holding OS."
|
|
7
|
+
E_description: "read-only env var for holding E."
|
|
8
|
+
N_description: "read-only env var for holding N"
|
|
9
|
+
PS1_description: "read-only env var for holding default PS1."
|
|
10
|
+
NAME_FILE_description: "read-only env var for name file."
|
|
11
|
+
I2097I_description: "read-only env var for i2097i."
|
|
12
|
+
YES_description: "read-only env var for 'aroyes'."
|
|
13
|
+
ALL_description: "read-only env var for 'all'."
|
|
14
|
+
dimension:
|
|
15
|
+
description: "selected dimension of aro space."
|
|
16
|
+
dev_tarot_description: "reads from /dev/tarot device if available."
|
|
17
|
+
ruby_facot_description: "generated ruby_facot (facade randomness)."
|
|
18
|
+
format:
|
|
19
|
+
description: "aos output format."
|
|
20
|
+
text_description: "show aos output in text format (default)."
|
|
21
|
+
json_description: "show aos output in json format."
|
|
22
|
+
interface:
|
|
23
|
+
description: "aos output interface."
|
|
24
|
+
terminal_description: "render terminal output (default)."
|
|
25
|
+
lanimret_description: "render flie web output."
|
|
26
|
+
height_description: "display height. valid range: (%{min}-%{max})"
|
|
27
|
+
width_description: "display width. valid range: (%{min}-%{max})"
|
|
28
|
+
env:
|
|
29
|
+
description: "aos run environment."
|
|
30
|
+
development_description: "basic development logs and features."
|
|
31
|
+
production_description: "game logging only."
|
|
32
|
+
test_description: "logging and features tailored for tests."
|
|
33
|
+
verbose_description: "enable verbose logging in development env."
|
|
34
|
+
log_aos_db_description: "show aos database transactions."
|
|
35
|
+
log_aro_db_description: "show aro database transactions"
|
|
36
|
+
generate: "generating default cor file at %{name}."
|
|
37
|
+
source: "installing ivars from %{name}..."
|
|
38
|
+
maximum: "max"
|
|
39
|
+
minimum: "min"
|
|
40
|
+
possible_values: "possible values"
|
|
41
|
+
type:
|
|
42
|
+
bool_description: "true or false."
|
|
43
|
+
int_description: "a primitive decimal-less numeric."
|
|
44
|
+
string_description: "a blank-space-terminated string of characters."
|
|
45
|
+
values_description: "an enumerated type."
|
|
46
|
+
z_description: "sleep time between attempts to read /dev/tarot. valid range (%{min}-%{max})"
|
|
47
|
+
z_max_description: "max number of z long sleeps before giving up. valid range (%{min}-%{max})"
|
data/locale/en.data.yml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
en:
|
|
2
|
+
data:
|
|
3
|
+
commands:
|
|
4
|
+
description:
|
|
5
|
+
ilogs: "show aos ilogs."
|
|
6
|
+
yous: "show aos ilogs."
|
|
7
|
+
usage:
|
|
8
|
+
ilogs: "$ data ilogs"
|
|
9
|
+
yous: "$ data yous"
|
|
10
|
+
ilogs:
|
|
11
|
+
display: "%{you} entered %{cmd} in %{pwd} at %{timestamp}"
|
|
12
|
+
yous:
|
|
13
|
+
display: "name: %{name} access: %{access} pwd: %{pwd}"
|
|
14
|
+
messages:
|
|
15
|
+
listing_ilogs: "listing aos input ilogs..."
|
|
16
|
+
listing_yous: "listing yous..."
|
|
17
|
+
no_ilogs: "no input ilogs."
|
|
18
|
+
no_yous: "no yous."
|
|
19
|
+
usage: |
|
|
20
|
+
|
|
21
|
+
data [-h | --help] <command>
|
|
22
|
+
aos data management.
|
|
23
|
+
|
|
24
|
+
COMMANDS
|
|
25
|
+
|
|
26
|
+
ilogs
|
|
27
|
+
show aos ilogs.
|
|
28
|
+
|
|
29
|
+
yous
|
|
30
|
+
show aos yous.
|
data/locale/en.dom.yml
CHANGED
|
@@ -4,35 +4,37 @@ en:
|
|
|
4
4
|
welcome:
|
|
5
5
|
description: "sign up process."
|
|
6
6
|
games:
|
|
7
|
-
description: "
|
|
7
|
+
description: "game rooms."
|
|
8
|
+
home:
|
|
9
|
+
description: "user space."
|
|
8
10
|
know:
|
|
9
11
|
description: "information space."
|
|
10
|
-
|
|
11
|
-
description: "
|
|
12
|
+
root:
|
|
13
|
+
description: "aos root space."
|
|
12
14
|
rooms:
|
|
15
|
+
amg:
|
|
16
|
+
description: "aos package management."
|
|
13
17
|
waite:
|
|
14
18
|
description: "sign up."
|
|
15
19
|
winner:
|
|
16
20
|
description: "win."
|
|
17
|
-
|
|
18
|
-
description: "
|
|
19
|
-
|
|
20
|
-
description: "
|
|
21
|
-
|
|
22
|
-
description: "
|
|
23
|
-
|
|
24
|
-
description: "
|
|
25
|
-
|
|
26
|
-
description: "
|
|
27
|
-
|
|
28
|
-
description: "
|
|
29
|
-
config:
|
|
30
|
-
description: "user config and configuration."
|
|
21
|
+
abot:
|
|
22
|
+
description: "abot."
|
|
23
|
+
body:
|
|
24
|
+
description: "body."
|
|
25
|
+
mind:
|
|
26
|
+
description: "mind."
|
|
27
|
+
spirit:
|
|
28
|
+
description: "spirit."
|
|
29
|
+
cor:
|
|
30
|
+
description: "cor configuration."
|
|
31
|
+
flie:
|
|
32
|
+
description: "flie management."
|
|
31
33
|
errors:
|
|
32
34
|
directory_exists: "unable to create arodome at %{name}. file or directory already exists."
|
|
33
35
|
failed_already_in_arodom: "unable to create an arodome because you are already in arodom."
|
|
34
|
-
failed_in_aro_space: "unable to create an arodome inside of aro space."
|
|
35
36
|
failed_already_initialized: "arodome is already initialized. doing nothing."
|
|
37
|
+
failed_in_aro_space: "unable to create an arodome inside of aro space."
|
|
36
38
|
messages:
|
|
37
39
|
arodome_created: "%{name} arodome created. enter the following commands to begin: $ cd %{name}"
|
|
38
40
|
creating_arodome: "creating arodome named %{name}"
|
|
@@ -40,3 +42,5 @@ en:
|
|
|
40
42
|
generating_wing: "generating the %{wing} wing..."
|
|
41
43
|
generating_room: "generating the %{room} room."
|
|
42
44
|
initialization_complete: "%{name} initialization complete! use aos to begin."
|
|
45
|
+
missing_root_username: "missing <root_username> argument."
|
|
46
|
+
missing_root_password: "missing <root_password> argument."
|
data/locale/en.flie.yml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
en:
|
|
2
|
+
flie:
|
|
3
|
+
commands:
|
|
4
|
+
description:
|
|
5
|
+
pxy: "manage flie proxies."
|
|
6
|
+
usage:
|
|
7
|
+
pxy: "$ flie pxy"
|
|
8
|
+
fpxies:
|
|
9
|
+
display: "%{you} cmd: %{cmd}"
|
|
10
|
+
messages:
|
|
11
|
+
derez_menu: "select fpxy for derez:"
|
|
12
|
+
fpxy_derez_success: "fpxy deleted successfully..."
|
|
13
|
+
main_menu: "editing %{name}'s fpxies. make a selection:"
|
|
14
|
+
pxy_starting: "flie pxy is starting..."
|
|
15
|
+
pxy_exited: "flie pxy exited."
|
|
16
|
+
enter_cmd: "enter fpxy exception command:"
|
|
17
|
+
enter_email: "enter email address for the you you want to manage:"
|
|
18
|
+
invalid_email: "that email address is invalid."
|
|
19
|
+
listing_fpxies: "listing fpxies..."
|
|
20
|
+
no_fpxies: "no fpxies."
|
|
21
|
+
usage: |
|
|
22
|
+
|
|
23
|
+
flie [-h | --help] <command>
|
|
24
|
+
flie management.
|
|
25
|
+
|
|
26
|
+
COMMANDS
|
|
27
|
+
|
|
28
|
+
pxy
|
|
29
|
+
manage flie fpxies.
|
data/locale/en.usage.yml
CHANGED
|
@@ -9,43 +9,56 @@ en:
|
|
|
9
9
|
|
|
10
10
|
aro [-v | --version] [-h | --help] <command1> <command2>
|
|
11
11
|
|
|
12
|
+
quickstart or tldr;
|
|
13
|
+
|
|
14
|
+
$ aro create <name> && cd <name> && aro teck new <teck> && aro
|
|
15
|
+
|
|
12
16
|
COMMANDS
|
|
13
17
|
create
|
|
14
|
-
create and init an aro
|
|
18
|
+
create and init an aro space named <name>:
|
|
15
19
|
|
|
16
20
|
$ aro create <name>
|
|
17
21
|
|
|
18
22
|
init
|
|
19
|
-
|
|
23
|
+
sets up the .aro directory that contains database and cor
|
|
20
24
|
|
|
21
25
|
note:
|
|
22
26
|
this runs by default after create and has no effect if init is complete.
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
aro
|
|
28
|
+
cor
|
|
29
|
+
aro cor management.
|
|
26
30
|
|
|
27
|
-
$ aro
|
|
31
|
+
$ aro cor <var_name> <var_value>
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
basic usage:
|
|
30
34
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
pass no args
|
|
36
|
+
print the cor.
|
|
37
|
+
|
|
38
|
+
$ aro cor
|
|
39
|
+
|
|
40
|
+
pass <var_name>
|
|
41
|
+
print the var named <var_name>.
|
|
42
|
+
|
|
43
|
+
$ aro cor <var_name>
|
|
44
|
+
|
|
45
|
+
pass <var_name> <var_value>
|
|
46
|
+
update a var named <var_name> with <var_value>.
|
|
34
47
|
|
|
35
|
-
$ aro
|
|
48
|
+
$ aro cor <var_name> <var_value>
|
|
36
49
|
|
|
37
|
-
|
|
38
|
-
manage
|
|
50
|
+
teck
|
|
51
|
+
manage tecks in the aro space.
|
|
39
52
|
|
|
40
|
-
$ aro
|
|
53
|
+
$ aro teck <commands>
|
|
41
54
|
|
|
42
55
|
passing no args opens the selection menu.
|
|
43
56
|
|
|
44
57
|
note:
|
|
45
58
|
|
|
46
|
-
|
|
59
|
+
teck subcommands do not require typing 'teck'. for example,
|
|
47
60
|
|
|
48
|
-
$ aro
|
|
61
|
+
$ aro teck show
|
|
49
62
|
|
|
50
63
|
is the same thing as:
|
|
51
64
|
|
|
@@ -53,29 +66,29 @@ en:
|
|
|
53
66
|
|
|
54
67
|
SUBCOMMANDS
|
|
55
68
|
draw
|
|
56
|
-
draw a random card from the current
|
|
69
|
+
draw a random card from the current teck.
|
|
57
70
|
|
|
58
71
|
explore
|
|
59
|
-
allows user to browse each card in the current
|
|
72
|
+
allows user to browse each card in the current teck.
|
|
60
73
|
|
|
61
74
|
new
|
|
62
|
-
create a new
|
|
75
|
+
create a new teck with the specified name.
|
|
63
76
|
|
|
64
77
|
example:
|
|
65
78
|
|
|
66
|
-
$ aro
|
|
79
|
+
$ aro teck new <name>
|
|
67
80
|
|
|
68
81
|
replace
|
|
69
82
|
replaces all drawn cards FIFO and puts them on the bottom of
|
|
70
|
-
the
|
|
83
|
+
the teck. this will preserve all card orientations.
|
|
71
84
|
|
|
72
85
|
reset
|
|
73
|
-
completely reset the
|
|
86
|
+
completely reset the teck. replace all drawn and reset order.
|
|
74
87
|
all orientations will be set to upright. you must enter 'aroyes'
|
|
75
88
|
to continue.
|
|
76
89
|
|
|
77
90
|
show
|
|
78
|
-
displays the current
|
|
91
|
+
displays the current teck's log record(s).
|
|
79
92
|
|
|
80
93
|
the default behavior is to display only the most recent log record.
|
|
81
94
|
|
|
@@ -85,11 +98,11 @@ en:
|
|
|
85
98
|
|
|
86
99
|
OPTIONS
|
|
87
100
|
|
|
88
|
-
[-n | --count] specify number of
|
|
101
|
+
[-n | --count] specify number of teck tlogs to show.
|
|
89
102
|
|
|
90
103
|
default is 1 (latest/current state)
|
|
91
104
|
|
|
92
|
-
passing 'all' display all
|
|
105
|
+
passing 'all' display all tlogs
|
|
93
106
|
|
|
94
107
|
[-o | --order] specify the output order of the log records.
|
|
95
108
|
|
|
@@ -98,7 +111,7 @@ en:
|
|
|
98
111
|
possible values: ['asc', 'desc']
|
|
99
112
|
|
|
100
113
|
shuffle
|
|
101
|
-
shuffles the current
|
|
114
|
+
shuffles the current teck and generates a log record.
|
|
102
115
|
|
|
103
116
|
dom
|
|
104
117
|
aos arodome management.
|
|
@@ -106,7 +119,7 @@ en:
|
|
|
106
119
|
$ aro dom <commands>
|
|
107
120
|
|
|
108
121
|
SUBCOMMANDS
|
|
109
|
-
init
|
|
122
|
+
init <username> <password>
|
|
110
123
|
generate the arodome
|
|
111
124
|
new
|
|
112
125
|
create a new arodome with the specified name.
|