hammer-cli-csv / lib / hammer_cli_csv / csv.rb @ 561a8ac9
1 |
|
---|---|
2 |
# Copyright 2013-2014 Red Hat, Inc.
|
3 |
#
|
4 |
# This software is licensed to you under the GNU General Public
|
5 |
# License as published by the Free Software Foundation; either version
|
6 |
# 2 of the License (GPLv2) or (at your option) any later version.
|
7 |
# There is NO WARRANTY for this software, express or implied,
|
8 |
# including the implied warranties of MERCHANTABILITY,
|
9 |
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10 |
# have received a copy of GPLv2 along with this software; if not, see
|
11 |
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12 |
|
13 |
require 'hammer_cli'
|
14 |
require 'hammer_cli/exit_codes'
|
15 |
|
16 |
module HammerCLICsv |
17 |
class CsvCommand < HammerCLI::AbstractCommand |
18 |
end
|
19 |
|
20 |
HammerCLI::MainCommand.subcommand('csv', |
21 |
_('import to, or export from a running foretello server'),
|
22 |
HammerCLICsv::CsvCommand) |
23 |
end
|