organizzer-cli icon indicating copy to clipboard operation
organizzer-cli copied to clipboard

Reorganize commands/models/descriptions

Open onhernandes opened this issue 6 years ago • 0 comments

Now, every command is separated by a single plain object like

{
  "action": {
    "command": {
      "description": "",
      "exec": "<function>"
    }
  }
}

We could reorganize and keep everything that's related to a model within the model's file.

Like, instead of exporting just the functions, also the descriptions and more. This would make the CLI more flexible because not all of the commands uses the pattern of <action> <command>

onhernandes avatar Jul 12 '18 14:07 onhernandes