CatalogCommand
Category: Commands
Source: catalog_command.dart
Top-level glue catalog … subcommands.
refresh fetches the canonical model catalog into the user's cache so ~/.glue/cache/models.yaml overlays the bundled snapshot on next start. show prints the active merged catalog. path reports where each layer is resolved from. open opens the canonical URL in a browser. edit opens the cached models.yaml in $EDITOR.
The /model slash command remains the interactive surface inside a running session; this CLI surface is for scripted setup and diagnostics.
Classes
sealed RefreshOutcome
Outcome of [refreshCatalog]. Exposed so the CLI surface and tests can inspect what happened without scraping stdout.
Constructor
dart
const RefreshOutcome()RefreshWrote
Constructor
dart
const RefreshWrote({required this.uri, required this.bytes})Properties
| Property | Type | Description |
|---|---|---|
uri | Uri | |
bytes | int |
RefreshNotModified
Constructor
dart
const RefreshNotModified({required this.uri})Properties
| Property | Type | Description |
|---|---|---|
uri | Uri |
RefreshAllFailed
Constructor
dart
const RefreshAllFailed({required this.failures})CatalogCommand
Constructor
dart
CatalogCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
CatalogRefreshCommand
Constructor
dart
CatalogRefreshCommand({this._fetcher})Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
CatalogShowCommand
Constructor
dart
CatalogShowCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get | |
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get | |
false | return | |
name | String get | |
description | String get | |
name | String get | |
description | String get | |
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
Future<int> run()
Future<int> run()
Future<int> run()
CatalogPathCommand
Constructor
dart
CatalogPathCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
name | String get | |
description | String get |
Methods
Future<int> run()
CatalogOpenCommand
Constructor
dart
CatalogOpenCommand()Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |
Methods
Future<int> run()
CatalogEditCommand
Properties
| Property | Type | Description |
|---|---|---|
name | String get | |
description | String get | |
invocation | String get | |
name | String get | |
description | String get | |
invocation | String get |