Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

terraspace check #324

Merged
merged 1 commit into from
Aug 23, 2023
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
8 changes: 7 additions & 1 deletion lib/terraspace/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,19 @@ def bundle(*args)
Bundle.new(options.merge(args: args)).run
end

desc "check", "Check setup.", hide: true
long_desc Help.text(:check_setup)
def check
Check.new(options).run
end

desc "check_setup", "Check setup.", hide: true
long_desc Help.text(:check_setup)
def check_setup
puts <<~EOL
DEPRECATED: The terraspace check_setup command is deprecated. Instead use:
terraspace setup check
terraspace check
EOL
Check.new(options).run
Expand Down
6 changes: 6 additions & 0 deletions lib/terraspace/cli/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ class Setup < Terraspace::Command
desc "check", "Check setup is ok"
long_desc Help.text("setup/check")
def check
puts <<~EOL
DEPRECATED: The terraspace setup check command is deprecated. Instead use:
terraspace check
EOL
Terraspace::Check.new(options).run
end
end
Expand Down