Skip to content

Commit

Permalink
gh-20: add check_system command
Browse files Browse the repository at this point in the history
  • Loading branch information
jfontan committed Nov 12, 2016
1 parent c968e58 commit 194ceee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/canga
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@ class Canga < Thor

repository.write_index
end

desc "check_system", "check system configuration"
def check_system
check = Cangallo::Check.new

rc = check.check

exit(-1) if !rc
end
end

Canga.start(ARGV)
Expand Down

0 comments on commit 194ceee

Please sign in to comment.