Class: ZedDB::CLI::Projects
- Inherits:
-
Zedkit::CLI::Bottom
- Object
- Zedkit::CLI::Bottom
- ZedDB::CLI::Projects
- Defined in:
- lib/cli/projects.rb
Class Method Summary collapse
Class Method Details
.codes(opts = {}) ⇒ Object
25 26 27 |
# File 'lib/cli/projects.rb', line 25 def codes(opts = {}) puts "\n" << ZedDB::CLI.ee(opts[:locale], :general, :not_done) << "\n\n" end |
.list(opts = {}) ⇒ Object
22 23 24 |
# File 'lib/cli/projects.rb', line 22 def list(opts = {}) show_models Zedkit::Project.new(:user_key => opts[:user_key], :locale => opts[:locale], :uuid => opts[:argv][0]) end |