aro 0.2.2 → 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/aro.gemspec +3 -3
- data/bin/aos +10 -3
- data/bin/aro +18 -11
- data/checksums/aro-0.2.3.gem.sha512 +1 -0
- data/locale/en.abot.yml +81 -0
- data/locale/en.aos.yml +6 -2
- data/locale/en.cor.yml +47 -0
- data/locale/en.data.yml +2 -2
- data/locale/en.dom.yml +15 -13
- data/locale/en.flie.yml +29 -0
- data/locale/en.usage.yml +24 -11
- data/locale/en.yml +2 -47
- data/sys/aos/abot.rb +256 -0
- data/sys/aos/aos.rb +373 -161
- data/sys/aos/cor.rb +773 -0
- data/sys/aos/data.rb +3 -3
- data/sys/aos/db/migrate/1765148774_create_yous.rb +1 -1
- 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 +16 -16
- 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/aos/models/ilib.rb +2 -0
- data/sys/aos/models/ilog.rb +5 -3
- data/sys/aos/models/you.rb +52 -4
- data/sys/aos/s.rb +2 -1
- data/sys/aos/vws/base.rb +62 -22
- data/sys/aos/vws/dom.rb +1 -1
- data/sys/aos/vws/games/abot.rb +21 -0
- data/sys/aos/vws/games/{game.rb → teck.rb} +19 -16
- data/sys/aos/vws/home.rb +23 -0
- data/sys/aos/vws/root/config.rb +4 -4
- data/sys/aos/vws/root/flie.rb +21 -0
- data/sys/aos/vws/welcome.rb +40 -4
- data/sys/aro/d.rb +4 -2
- data/sys/aro/db.rb +19 -10
- data/sys/aro/mancy.rb +16 -20
- data/sys/aro/models/base_model.rb +13 -0
- data/sys/aro/models/teck.rb +16 -12
- data/sys/aro/models/tlog.rb +2 -1
- 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/teck.rb +26 -33
- data/sys/cli.rb +7 -9
- data/sys/dom/d.rb +38 -29
- data/sys/dom/dom.rb +62 -36
- data/sys/dom/p.rb +1 -1
- data/sys/fpx.rb +116 -0
- data/sys/reiquire.rb +3 -2
- data/sys/shr/prompt.rb +2 -2
- data/sys/shr/t.rb +11 -13
- data/sys/shr/version.rb +1 -1
- data/tasks/make.rake +1 -1
- metadata +55 -43
- 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/dom/config.rb +0 -718
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/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
|
+
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.aos.yml
CHANGED
|
@@ -2,21 +2,25 @@ en:
|
|
|
2
2
|
aos:
|
|
3
3
|
commands:
|
|
4
4
|
description:
|
|
5
|
+
abot: "fun with cron."
|
|
5
6
|
amg: "manage aos. a tool for package installation/management."
|
|
6
7
|
cd: "change directory. no args navigates to arodome root."
|
|
7
|
-
|
|
8
|
+
cor: "read/write aos vars. (enter vars lowercase excluding bash prefix)."
|
|
8
9
|
data: "manage aos data."
|
|
9
10
|
exit: "exit."
|
|
11
|
+
flie: "flie management."
|
|
10
12
|
help: "help."
|
|
11
13
|
ll: "list files and folders in the pwd including hidden files."
|
|
12
14
|
ls: "list files and folders in the pwd."
|
|
13
15
|
pwd: "show pwd."
|
|
14
16
|
usage:
|
|
17
|
+
abot: "$ abot [-h | --help] <command>"
|
|
15
18
|
amg: "$ amg [-h | --help] <command>"
|
|
16
19
|
cd: "$ cd <name>"
|
|
17
|
-
|
|
20
|
+
cor: "$ cor <var_name> <var_value>"
|
|
18
21
|
data: "$ data [-h | --help] <command>"
|
|
19
22
|
exit: "$ exit"
|
|
23
|
+
flie: "$ flie"
|
|
20
24
|
help: "$ help"
|
|
21
25
|
ll: "$ ll"
|
|
22
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
CHANGED
|
@@ -8,9 +8,9 @@ en:
|
|
|
8
8
|
ilogs: "$ data ilogs"
|
|
9
9
|
yous: "$ data yous"
|
|
10
10
|
ilogs:
|
|
11
|
-
display: "%{you} entered
|
|
11
|
+
display: "%{you} entered %{cmd} in %{pwd} at %{timestamp}"
|
|
12
12
|
yous:
|
|
13
|
-
display: "name: %{name}
|
|
13
|
+
display: "name: %{name} access: %{access} pwd: %{pwd}"
|
|
14
14
|
messages:
|
|
15
15
|
listing_ilogs: "listing aos input ilogs..."
|
|
16
16
|
listing_yous: "listing yous..."
|
data/locale/en.dom.yml
CHANGED
|
@@ -4,37 +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
12
|
root:
|
|
11
|
-
description: "aos
|
|
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
|
-
hbpps:
|
|
20
|
-
description: "human beings."
|
|
21
|
-
shpps:
|
|
22
|
-
description: "human and artificial beings."
|
|
23
|
-
vipps:
|
|
24
|
-
description: "only dev_tarot users. no ruby_facots allowed."
|
|
21
|
+
abot:
|
|
22
|
+
description: "abot."
|
|
25
23
|
body:
|
|
26
24
|
description: "body."
|
|
27
25
|
mind:
|
|
28
26
|
description: "mind."
|
|
29
27
|
spirit:
|
|
30
28
|
description: "spirit."
|
|
31
|
-
|
|
32
|
-
description: "
|
|
29
|
+
cor:
|
|
30
|
+
description: "cor configuration."
|
|
31
|
+
flie:
|
|
32
|
+
description: "flie management."
|
|
33
33
|
errors:
|
|
34
34
|
directory_exists: "unable to create arodome at %{name}. file or directory already exists."
|
|
35
35
|
failed_already_in_arodom: "unable to create an arodome because you are already in arodom."
|
|
36
|
-
failed_in_aro_space: "unable to create an arodome inside of aro space."
|
|
37
36
|
failed_already_initialized: "arodome is already initialized. doing nothing."
|
|
37
|
+
failed_in_aro_space: "unable to create an arodome inside of aro space."
|
|
38
38
|
messages:
|
|
39
39
|
arodome_created: "%{name} arodome created. enter the following commands to begin: $ cd %{name}"
|
|
40
40
|
creating_arodome: "creating arodome named %{name}"
|
|
@@ -42,3 +42,5 @@ en:
|
|
|
42
42
|
generating_wing: "generating the %{wing} wing..."
|
|
43
43
|
generating_room: "generating the %{room} room."
|
|
44
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,33 +9,46 @@ 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
|
-
sets up the .aro directory that contains database and
|
|
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
50
|
teck
|
|
38
|
-
manage tecks in the
|
|
51
|
+
manage tecks in the aro space.
|
|
39
52
|
|
|
40
53
|
$ aro teck <commands>
|
|
41
54
|
|
data/locale/en.yml
CHANGED
|
@@ -4,52 +4,6 @@ en:
|
|
|
4
4
|
very_important: "VERY IMPORTANT! %{dev_tarot}"
|
|
5
5
|
# VERY IMPORTANT!
|
|
6
6
|
|
|
7
|
-
config:
|
|
8
|
-
aro_env:
|
|
9
|
-
O_description: "read-only env var for holding O."
|
|
10
|
-
S_description: "read-only env var for holding S."
|
|
11
|
-
OS_description: "read-only env var for holding OS."
|
|
12
|
-
E_description: "read-only env var for holding E."
|
|
13
|
-
N_description: "read-only env var for holding N"
|
|
14
|
-
PS1_description: "read-only env var for holding default PS1."
|
|
15
|
-
NAME_FILE_description: "read-only env var for name file."
|
|
16
|
-
I2097I_description: "read-only env var for i2097i."
|
|
17
|
-
YES_description: "read-only env var for 'aroyes'."
|
|
18
|
-
ALL_description: "read-only env var for 'all'."
|
|
19
|
-
dimension:
|
|
20
|
-
description: "selected dimension of aro space."
|
|
21
|
-
dev_tarot_description: "reads from /dev/tarot device if available."
|
|
22
|
-
ruby_facot_description: "generated ruby_facot (facade randomness)."
|
|
23
|
-
format:
|
|
24
|
-
description: "aos output format."
|
|
25
|
-
text_description: "show aos output in text format (default)."
|
|
26
|
-
json_description: "show aos output in json format."
|
|
27
|
-
interface:
|
|
28
|
-
description: "aos output interface."
|
|
29
|
-
terminal_description: "render terminal output (default)."
|
|
30
|
-
lanimret_description: "render flie web output."
|
|
31
|
-
height_description: "display height. valid range: (${min}-${max})"
|
|
32
|
-
width_description: "display width. valid range: (${min}-${max})"
|
|
33
|
-
env:
|
|
34
|
-
description: "aos run environment."
|
|
35
|
-
development_description: "basic development logs and features."
|
|
36
|
-
production_description: "game logging only."
|
|
37
|
-
test_description: "logging and features tailored for tests."
|
|
38
|
-
verbose_description: "enable verbose logging in development env."
|
|
39
|
-
log_aos_db_description: "show aos database transactions."
|
|
40
|
-
log_aro_db_description: "show aro database transactions"
|
|
41
|
-
generate: "generating default config file at %{name}."
|
|
42
|
-
source: "installing ivars from %{name}..."
|
|
43
|
-
maximum: "max"
|
|
44
|
-
minimum: "min"
|
|
45
|
-
possible_values: "possible values"
|
|
46
|
-
type:
|
|
47
|
-
bool_description: "true or false."
|
|
48
|
-
int_description: "a primitive decimal-less numeric."
|
|
49
|
-
string_description: "a blank-space-terminated string of characters."
|
|
50
|
-
values_description: "an enumerated type."
|
|
51
|
-
z_description: "sleep time between attempts to read /dev/tarot. valid range (%{min}-%{max})"
|
|
52
|
-
z_max_description: "max number of z long sleeps before giving up. valid range (%{min}-%{max})"
|
|
53
7
|
errors:
|
|
54
8
|
header: "%{cmd} says there was a problem."
|
|
55
9
|
invalid_usage: "%{cmd} says you're not supposed to be here."
|
|
@@ -57,6 +11,7 @@ en:
|
|
|
57
11
|
missing_teck: "%{cmd} says no teck selected. use 'aro teck' to select one or 'aro teck new <name>' to create one."
|
|
58
12
|
not_in_aro: "%{cmd} says you are not in aro space. that command will not work here."
|
|
59
13
|
not_in_aos: "%{cmd} says you are not in aos space. that command will not work here."
|
|
14
|
+
not_initialized_dom: "%{cmd} says you need to initialize dom. $ aro dom init <root_username> <root_password>"
|
|
60
15
|
not_initialized: "%{cmd} says you need to initialize aro. run 'aro init' to do so"
|
|
61
16
|
warnings:
|
|
62
17
|
invalid_order: "the order specified for displaying tlogs in invalid. using default (desc)."
|
|
@@ -97,4 +52,4 @@ en:
|
|
|
97
52
|
replacing_drawn: "replacing all drawn cards to %{name}..."
|
|
98
53
|
resetting: "resetting %{name}'s cards..."
|
|
99
54
|
understood: "%{name} says: 'understood.'"
|
|
100
|
-
welcome: "
|
|
55
|
+
welcome: "summoned %{name}"
|