bluer-options 5.194.1__tar.gz → 5.198.1__tar.gz
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.
Potentially problematic release.
This version of bluer-options might be problematic. Click here for more details.
- {bluer_options-5.194.1/bluer_options.egg-info → bluer_options-5.198.1}/PKG-INFO +1 -1
- bluer_options-5.198.1/bluer_options/.bash/eval.sh +46 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/__init__.py +1 -1
- {bluer_options-5.194.1 → bluer_options-5.198.1/bluer_options.egg-info}/PKG-INFO +1 -1
- bluer_options-5.194.1/bluer_options/.bash/eval.sh +0 -33
- {bluer_options-5.194.1 → bluer_options-5.198.1}/LICENSE +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/MANIFEST.in +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/README.md +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/alias.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/assert.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/bluer_options.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/bool.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/browse.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/code.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/backup.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot/cat.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot/cp.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot/edit.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot/load.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot/seed.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env/dot.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/env.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/generic_task.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/help.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/install.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/list.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/logging.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/open.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/options.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/pause.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/plugins.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/pylint.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/pytest.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/repeat.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/seed.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/sleep.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/source.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/string.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/terminal.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/test.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/wait.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/.bash/watch.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/assets/example1.sh +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/config.env +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/env/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/env/functions.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/help/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/help/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/help/functions.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/help/parsing.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/host/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/host/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/host/functions.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/list/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/list/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/logger/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/logger/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/logger/config.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/logger/watch.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/options/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/options/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/options/classes.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/string/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/string/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/string/constants.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/string/functions.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/terminal/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/terminal/__main__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/terminal/functions.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/timer.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/timing/__init__.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/timing/classes.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/timing/elapsed_timer.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options/urls.py +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options.egg-info/SOURCES.txt +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options.egg-info/dependency_links.txt +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options.egg-info/requires.txt +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/bluer_options.egg-info/top_level.txt +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/pyproject.toml +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/requirements.txt +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/setup.cfg +0 -0
- {bluer_options-5.194.1 → bluer_options-5.198.1}/setup.py +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#! /usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
function bluer_ai_eval() {
|
|
4
|
+
local options=$1
|
|
5
|
+
local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
|
|
6
|
+
local do_log=$(bluer_ai_option_int "$options" log 1)
|
|
7
|
+
local path=$(bluer_ai_option "$options" path ./)
|
|
8
|
+
local in_background=$(bluer_ai_option_int "$options" background 0)
|
|
9
|
+
|
|
10
|
+
[[ "$path" != "./" ]] && mkdir -pv $path
|
|
11
|
+
|
|
12
|
+
local command_line="${@:2}"
|
|
13
|
+
|
|
14
|
+
if [[ "$do_log" == 1 ]]; then
|
|
15
|
+
if [[ "$in_background" == 1 ]]; then
|
|
16
|
+
bluer_ai_log "⚙️ in background: $command_line"
|
|
17
|
+
else
|
|
18
|
+
bluer_ai_log "⚙️ $command_line"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
[[ "$path" != "./" ]] && bluer_ai_log " 📂 $path"
|
|
22
|
+
fi
|
|
23
|
+
|
|
24
|
+
[[ "$do_dryrun" == 1 ]] && return
|
|
25
|
+
|
|
26
|
+
[[ "$path" != "./" ]] && pushd $path >/dev/null
|
|
27
|
+
|
|
28
|
+
if [[ "$in_background" == 1 ]]; then
|
|
29
|
+
source \
|
|
30
|
+
$abcli_path_bash/bluer_ai.sh \
|
|
31
|
+
$options \
|
|
32
|
+
"$command_line" &
|
|
33
|
+
else
|
|
34
|
+
eval "$command_line"
|
|
35
|
+
local status="$?"
|
|
36
|
+
|
|
37
|
+
[[ "$path" != "./" ]] && popd >/dev/null
|
|
38
|
+
|
|
39
|
+
if [[ $status -ne 0 ]]; then
|
|
40
|
+
bluer_ai_log_error "@eval: failed: status=$status: $command_line"
|
|
41
|
+
return 1
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
return 0
|
|
45
|
+
fi
|
|
46
|
+
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function bluer_ai_eval() {
|
|
4
|
-
local options=$1
|
|
5
|
-
local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
|
|
6
|
-
local do_log=$(bluer_ai_option_int "$options" log 1)
|
|
7
|
-
local path=$(bluer_ai_option "$options" path ./)
|
|
8
|
-
|
|
9
|
-
[[ "$path" != "./" ]] && mkdir -pv $path
|
|
10
|
-
|
|
11
|
-
local command_line="${@:2}"
|
|
12
|
-
|
|
13
|
-
if [[ "$do_log" == 1 ]]; then
|
|
14
|
-
bluer_ai_log "⚙️ $command_line"
|
|
15
|
-
[[ "$path" != "./" ]] && bluer_ai_log " 📂 $path"
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
[[ "$do_dryrun" == 1 ]] && return
|
|
19
|
-
|
|
20
|
-
[[ "$path" != "./" ]] && pushd $path >/dev/null
|
|
21
|
-
|
|
22
|
-
eval "$command_line"
|
|
23
|
-
local status="$?"
|
|
24
|
-
|
|
25
|
-
[[ "$path" != "./" ]] && popd >/dev/null
|
|
26
|
-
|
|
27
|
-
if [[ $status -ne 0 ]]; then
|
|
28
|
-
bluer_ai_log_error "@eval: failed: status=$status: $command_line"
|
|
29
|
-
return 1
|
|
30
|
-
fi
|
|
31
|
-
|
|
32
|
-
return 0
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|