{"id":81204,"library":"command-mapper","title":"Command Mapper","description":"Maps external command arguments to class attributes for safe and secure command execution.","status":"active","version":"0.3.2","language":"ruby","source_language":null,"source_url":"https://github.com/postmodern/command_mapper.rb","tags":["command","execution","security","mapping"],"install":[{"cmd":"gem install command_mapper","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'command_mapper', '~> 0.3.2'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"CommandMapper","correct":"require 'command_mapper'"}],"quickstart":{"code":"require 'command_mapper'\nclass Git < CommandMapper::Command\n  command 'git'\n  option :verbose, type: :flag\nend\ngit = Git.new(verbose: true)\ngit.run('status')","lang":"ruby","description":"Define and execute a Git command with options."},"warnings":[],"env_vars":null,"search_vec":"'argument':6 'attribut':9 'class':8 'command':1,5,14,16 'execut':15,17 'extern':4 'map':3,19 'mapper':2 'safe':11 'secur':13,18","created_at":"2026-06-18T05:47:11.088423+00:00","updated_at":"2026-06-18T05:47:11.088423+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/postmodern/command_mapper.rb#readme","github":"https://github.com/postmodern/command_mapper.rb","docs":"http://www.rubydoc.info/gems/command_mapper/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}