sciabarracom opened a new issue, #92:
URL: https://github.com/apache/openserverless/issues/92

   ## Why you need it?
   parametrize the openserverless extension to customize commands
   
   ## How it could be?
   The extension should use the package.json file for its configuration, and 
read the entry `openservleress-extension`. The format shouuld be
   {
     "openerverless-extension": [
       { "type": "button",
         "label": "Test",
          "command": "ops ai test" 
       },
       {  "type": "select"
          "label": "Lessons"
           "commands: [
              ["Lesson 0 - Setup", "ops ai lesson 0-hello"],
              ["lesson 1 - Chat", "ops ali lesson 1-chat"]
            ]
        }
     ]
   }
   
   Note that when it is "command" it will display just a button. When it is 
"commands" it will display a selet with a list of commands and when selected 
will execute the selected command.
   
   ## Other related information
   It should work with the defaults if there is no package.json in the 
workspace folder.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to