UX: Add preview and management links to the CLI output

UX: Add preview and management links to the CLI output

diff --git a/lib/discourse_theme/cli.rb b/lib/discourse_theme/cli.rb
index 173e60e..82da052 100644
--- a/lib/discourse_theme/cli.rb
+++ b/lib/discourse_theme/cli.rb
@@ -111,6 +111,12 @@ module DiscourseTheme
         settings.theme_id = theme_id = uploader.upload_full_theme
 
         Cli.success "Theme uploaded (id:#{theme_id})"
+        Cli.info "Preview: #{client.root}/?preview_theme_id=#{theme_id}"
+        if client.is_theme_creator
+          Cli.info "Manage: #{client.root}/my/themes"
+        else
+          Cli.info "Manage: #{client.root}/admin/customize/themes/#{theme_id}"
+        end
         watcher = DiscourseTheme::Watcher.new(dir: dir, uploader: uploader)
 
         Cli.progress "Watching for changes in #{dir}..."
diff --git a/lib/discourse_theme/client.rb b/lib/discourse_theme/client.rb
index cc3a0cf..7a266d8 100644
--- a/lib/discourse_theme/client.rb
+++ b/lib/discourse_theme/client.rb
@@ -103,12 +103,16 @@ module DiscourseTheme
       json["about"]["version"]
     end
 
-    private
-
     def root
       @url
     end
 
+    def is_theme_creator
+      @is_theme_creator
+    end
+
+    private
+
     def request(request, never_404: false)
       uri = URI.parse(@url)
       http = Net::HTTP.new(uri.host, uri.port)

GitHub sha: 2ba58a26be05a939251f4b8a790dae4add3e49cd