Skip to content

saagie/sdk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Saagie πŸ“¦ SDK for Technologies

build npm

The Saagie Technology SDK allows you to implements new technologies easily within the Saagie platform.


Requirements


🀩 Create your first technology

πŸ‘‰ Initialize your technology

npx @saagie/sdk init

If it does not work (npx is a little capricious on system with space in the path) go to the folder where you want your technology to be located:

npm init -y
npm install @saagie/sdk

Update the package.json to include this script command :

{
  "...": "...",
  "scripts": {
    "init": "saagie-sdk init"
  },
  "...": "..."
}

Now run to start the technology prompt:

npm run init

πŸ‘‰ Run your technology locally

npm run dev

πŸ‘‰ Build your technology

npm run build

πŸ‘‰ Create a new context

npm run new:context

πŸ“š Technologies & Contexts documentation

▢️ Access the SDK documentation

Quick links:


πŸ’» CLI Commands

Usage: saagie-sdk [options] [command]

Options:
  -V, --version    output the version number
  -h, --help       display help for command

Commands:
  init             Create an empty Saagie External Technology project
  start [options]  Run local application
  build            Package your technology
  help [command]   display help for command

πŸ‘©β€πŸ‘¨β€ Contributing

Please read our Contributing Guide before submitting a Pull Request to the project.