diff --git a/README.md b/README.md index 1558d08..114acea 100644 --- a/README.md +++ b/README.md @@ -262,9 +262,9 @@ Refer to [CONTRIBUTING.md](CONTRIBUTING.md)
Private package artifacts inaccessible in non-proxy mode -If `pmg` is unable to retrieve the private package’s artifacts (files, metadata, etc.), it cannot proceed with dependency tree analysis. This is a limitation of non-proxy mode, where `pmg` is responsible for resolving dependencies and cannot resolve transitive dependencies for private (non-accessible) packages. +If `pmg` cannot retrieve private package artifacts (such as files or metadata), it cannot perform dependency tree analysis. This is a limitation of non-proxy mode, where `pmg` is responsible for resolving dependencies and is unable to resolve transitive dependencies for private (inaccessible) packages. -With **Proxy Mode enabled**, this limitation **does not** apply—transitive dependencies are analyzed as long as they originate from public registries. +This limitation does **not** apply when **Proxy Mode is enabled**.
diff --git a/docs/demo/pmg-intro.gif b/docs/demo/pmg-intro.gif index ab17682..0024009 100644 Binary files a/docs/demo/pmg-intro.gif and b/docs/demo/pmg-intro.gif differ diff --git a/docs/demo/pmg-intro.tape b/docs/demo/pmg-intro.tape index d83f7fa..8d74f87 100644 --- a/docs/demo/pmg-intro.tape +++ b/docs/demo/pmg-intro.tape @@ -10,6 +10,7 @@ Type "pmg setup install" Enter Sleep 2s +Enter Enter Type "source ~/.pmg.rc" diff --git a/docs/demo/pmg-sandbox.gif b/docs/demo/pmg-sandbox.gif index 0a024e8..c0776dc 100644 Binary files a/docs/demo/pmg-sandbox.gif and b/docs/demo/pmg-sandbox.gif differ diff --git a/internal/alias/alias.go b/internal/alias/alias.go index ac9ce26..478bbce 100644 --- a/internal/alias/alias.go +++ b/internal/alias/alias.go @@ -9,6 +9,7 @@ import ( "strings" "github.com/safedep/dry/log" + "github.com/safedep/pmg/internal/ui" ) // AliasManager manages shell aliases for package managers. @@ -121,9 +122,9 @@ func (a *AliasManager) Install() error { return fmt.Errorf("failed to update shell configs: %w", err) } - fmt.Println("✅ PMG aliases installed successfully!") - fmt.Printf("📁 Created: %s\n", rcPath) - fmt.Println("💡 Restart your terminal or source your shell to use the new aliases") + fmt.Printf("%s %s\n", ui.Colors.Green("✓"), "PMG aliases installed successfully") + fmt.Printf(" %s\n", ui.Colors.Dim(fmt.Sprintf("Created: %s", rcPath))) + fmt.Printf(" %s\n", ui.Colors.Dim("Restart your terminal or source your shell to use the new aliases")) return nil } @@ -138,7 +139,7 @@ func (a *AliasManager) Remove() error { return fmt.Errorf("failed to clean shell configs: %w", err) } - fmt.Println("✅ PMG config removed. Existing aliases need a shell restart.") + fmt.Printf("%s %s\n", ui.Colors.Green("✓"), "PMG config removed. Existing aliases need a shell restart") return nil }