JSPM

  • Created
  • Published
  • Downloads 77285
  • Score
    100M100P100Q183799F
  • License Apache-2.0

CLI for interacting with the Google GenKit AI framework

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (genkit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    GenKit CLI.

    Right now this is just scaffolding. To build,

    npm install
    npm run build
    npm link

    After executing npm link, the genkit binary will be in your local path. Call genkit example to see the example.

    We're following a slightly different architecture from Firebase Tools. For commands, Firebase Tools relies on node require() calls to dynamically load code. This is discouraged (in fact, disabled per our TSLint) so instead all files (and thus all commands) need to be directly referenced from something in the tree of imports. See src/cli.ts.

    There are helpers for linting/prettying. From the get-go these are enforced strictly.

    npm run lint
    npm run lint:fix