Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/architecture/repository-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,8 @@ Keep release, signing, CODEOWNER, merge-queue, and trusted-main controls intact.
Help assembly and its contracts live in `internal/app/`: root flag descriptions,
feature help content, flag groups, and admin setup guidance are configured there
in the existing order. Rendering remains in `internal/clihelp/`.

Optional first-run shell setup admission lives in `internal/app/`, alongside
invocation. Its existing terminal checks, synchronous audio command traversal,
argument copy, single-worker limit, and 250 ms foreground wait are unchanged.
Image shell installation mechanics remain in `internal/commands/images/`.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package custom
package app

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package custom
package app

import (
"context"
Expand Down Expand Up @@ -31,7 +31,7 @@ func audioFirstRunTestRoot() *cli.Command {
Flags: []cli.Flag{&cli.BoolFlag{Name: "all", Hidden: true}}},
}}
requestconfig.ConfigureRootFlags(root)
registerAudioCommands(root)
audiocommands.RegisterLocal(root, audiocommands.LocalOptions{})
root.Command("audio").Command("history").Aliases = []string{"past"}
return root
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package custom
package app

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package custom
package app

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion internal/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Run(ctx context.Context, argv []string) int {
custom.ConfigureCommandErrors(app)

if err == nil {
custom.SetupImagePickerShellOnFirstRun(ctx, argv, app)
SetupImagePickerShellOnFirstRun(ctx, argv, app)
err = custom.RunWithOutputPolicy(ctx, app, func(ctx context.Context) error {
return runWithRequestConfiguration(ctx, app, args, completing)
})
Expand Down
Loading