Name Date Size #Lines LOC

..--

core/H25-Apr-2025-221148

tools/H25-Apr-2025-812626

Android.bpH A D25-Apr-20251 KiB4239

README.mdH A D25-Apr-2025961 4940

__init__.pyH A D25-Apr-20250 10

a.pyH A D25-Apr-20251.7 KiB6637

tests.pyH A D25-Apr-2025986 3111

README.md

1# A tool
2
3A tool is a command-line tool that can run android workflows and productivity tools
4go/a-tool-design-doc
5
6Contributions welcome!
7
8### A and Autocomplete aliases
9Add the following to your  ~/.bashrc for autocompletions
10```
11# Alias for local workflow "a update" tool
12a() {
13    python3 "$ANDROID_BUILD_TOP/tools/asuite/experiments/a/a.py" "$@"
14}
15_a_completion() {
16  local cur prev opts
17  COMPREPLY=()
18  cur="${COMP_WORDS[COMP_CWORD]}"
19  prev="${COMP_WORDS[COMP_CWORD-1]}"
20
21  if [[ ${prev} == "a" ]] ; then
22    COMPREPLY=( $(compgen -W "update" -- ${cur}) )
23    return 0
24  fi
25
26  if [[ ${prev} == "update" ]] ; then
27    COMPREPLY=( $(compgen -W "$(a update --list-aliases)" -- ${cur}) )
28    return 0
29  fi
30}
31complete -F _a_completion a
32```
33
34### To Run
35```a {config_name}```
36or
37```python3 a.py {config_name}```
38
39### To develop
40```python3 a.py {config_name}```
41
42### To Test:
43or
44```python3 -m unittest **/*_test.py```
45or
46```python3 tests.py``
47or
48```atest .```
49