parsing a command

P

Paul Irofti

Hi,

My app has (amongst other UIs) a CLI that, as expected, has a small set
of commands. The CLI is written in Ruby, as the rest of the app.

I want to improve my CLI add command by passing all the parameters to it
in one line. Let me give an example of current and wanted behavior:

Current:
Type: item_type_goes_here
Title: item_title_goes_here
Description: item_desc_goes_here
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top