aboutsummaryrefslogtreecommitdiffhomepage
path: root/dist/comp/_hakurei
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-28 16:43:02 +0900
committerOphestra <cat@gensokyo.uk>2026-03-28 16:48:26 +0900
commitb1ea3b4acf85365fd76c890f8b8852b5f95be5c1 (patch)
tree465f21c2af64100da97d8441ff54d70a0fb2158a /dist/comp/_hakurei
parent2c254c70b8838369a48c49f55a0346a7740f1514 (diff)
cmd/hakurei: rename app to run
The run command was a legacy holdover from very early days and is only useful for testing and demonstration these days. This change also renames it to exec. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dist/comp/_hakurei')
-rw-r--r--dist/comp/_hakurei10
1 files changed, 5 insertions, 5 deletions
diff --git a/dist/comp/_hakurei b/dist/comp/_hakurei
index 8230ba4c..11424612 100644
--- a/dist/comp/_hakurei
+++ b/dist/comp/_hakurei
@@ -1,11 +1,11 @@
#compdef hakurei
-_hakurei_app() {
+_hakurei_run() {
__hakurei_files
return $?
}
-_hakurei_run() {
+_hakurei_exec() {
_arguments \
'--id[Reverse-DNS style Application identifier, leave empty to inherit instance identifier]:id' \
'-a[Application identity]: :_numbers' \
@@ -57,9 +57,9 @@ __hakurei_instances() {
{
local -a _hakurei_cmds
_hakurei_cmds=(
- "app:Load and start container from configuration file"
- "run:Configure and start a permissive container"
- "show:Show live or local app configuration"
+ "run:Load and start container from configuration file"
+ "exec:Configure and start a permissive container"
+ "show:Show live or local instance configuration"
"ps:List active instances"
"version:Display version information"
"license:Show full license text"