ARMARA Course 01

Course 01 / Module 07 / Optional

Enabling Shell Tab Completion

Add command completion for the current shell, or stop after five minutes and keep the help pattern that always works.

Level
Beginner
Time
8 minutes
Commands
3
Finish
Completion or a clean skip

Video / coming soon

This optional convenience is documented now.

Start a five-minute timer

Nothing later depends on completion. If shell setup takes longer, use the help fallback and continue.

The primary path uses PowerShell completion.
01

Protect the rest of the course

Tab completion is useful, not required.

It can prevent dense parser errors caused by a mistyped command. It can also become a shell-specific detour. Stop at five minutes without apology.

02

Choose one of the five supported shells

Run in your terminal
armaraos completion --help
Real completion help naming bash, elvish, fish, powershell, and zsh
Fresh live capture / five accepted shell values / 24 August 2026

Use the value for the shell you are actually running. Do not guess from the operating system alone.

03

Recognize generated code

Run in your terminal
armaraos completion powershell
Cropped real PowerShell completion script
Cropped fresh output / native argument completer

The command prints code to standard output. It does not install that code or edit a shell profile.

04

Load completion for this session

PowerShell
armaraos completion powershell | Out-String | Invoke-Expression

This affects the current shell only. Persistent installation depends on a shell profile and its security policy, not an ArmaraOS setting.

05

Keep the help fallback

Run in your terminal
armaraos --help
Run in your terminal
armaraos <group> --help
Run in your terminal
armaraos <group> <subcommand> --help

Help works at three levels. Groups also accept a generated help subcommand, so armaraos agent help and armaraos agent --help expose the same inventory.

Check it / choose either success

Complete it, or skip it cleanly.

Type armaraos or and press Tab. If it completes to orchestration, completion works. If five minutes elapsed, run armaraos orchestration --help and continue.

Safety note

Read generated code before adding it to a persistent profile. Do not weaken the shell execution policy merely for tab completion.

Troubleshooting for this sitting
What you seeLikely causeWhat to do
The script prints but Tab does nothingIt was printed, not loaded.Use the current-session command for the correct shell.
PowerShell blocks loadingExecution policy or profile configuration.Stop at five minutes and use help.
The syntax looks wrongThe wrong shell value was selected.Check the shell and regenerate using a supported value.

Back to Module 1.6

Next / Module 1.8

Agent Names and Identifiers

Lesson ready