Skip to content

Commit

Permalink
Hide deprecated commands
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Nov 5, 2023
1 parent 66e69ab commit 69d5221
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/solargraph/shell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def config(directory = '.')
STDOUT.puts "Configuration file initialized."
end

desc 'download-core [VERSION]', 'Download core documentation [deprecated]'
desc 'download-core [VERSION]', 'Download core documentation [deprecated]', hide: true
long_desc %(
The `download-core` command is deprecated. Current versions of Solargraph
use RBS for core and stdlib documentation.
Expand All @@ -82,7 +82,7 @@ def download_core _version = nil
puts 'Current versions of Solargraph use RBS for core and stdlib documentation.'
end

desc 'list-cores', 'List the local documentation versions [deprecated]'
desc 'list-cores', 'List the local documentation versions [deprecated]', hide: true
long_desc %(
The `list-cores` command is deprecated. Current versions of Solargraph use
RBS for core and stdlib documentation.
Expand All @@ -93,7 +93,7 @@ def list_cores
puts 'Current versions of Solargraph use RBS for core and stdlib documentation.'
end

desc 'available-cores', 'List available documentation versions [deprecated]'
desc 'available-cores', 'List available documentation versions [deprecated]', hide: true
long_desc %(
The `available-cores` command is deprecated. Current versions of Solargraph
use RBS for core and stdlib documentation.
Expand Down

0 comments on commit 69d5221

Please sign in to comment.